summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-02-28 14:56:34 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-02-28 14:56:34 +0700
commit58024d6e0849400bb9c86f7c7988b163958eebe0 (patch)
tree4cb86717a95a818bf293febdceb346e9f7da9b1b /indoteknik_custom/views
parent46a7cc5601ceab2a7a6cdf4d74e0fa26ce13ab8a (diff)
delivery invoice address on so and invoices
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/account_move.xml4
-rwxr-xr-xindoteknik_custom/views/sale_order.xml1
2 files changed, 5 insertions, 0 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml
index 97951b95..cf03809b 100644
--- a/indoteknik_custom/views/account_move.xml
+++ b/indoteknik_custom/views/account_move.xml
@@ -23,6 +23,10 @@
<field name="ref" position="after">
<field name="sale_id" readonly="1" attrs="{'invisible': [('move_type', '!=', 'entry')]}"/>
</field>
+ <field name="partner_shipping_id" position="before">
+ <field name="real_invoice_id" readonly="1" attrs="{'invisible': [('move_type', '!=', 'out_invoice')]}"/>
+ <field name="address_invoice" readonly="1" attrs="{'invisible': [('move_type', '!=', 'out_invoice')]}"/>
+ </field>
<field name="efaktur_document" position="before">
<field name="no_faktur_pajak" attrs="{'invisible': [('move_type', '!=', 'in_invoice')]}"/>
<field name="date_efaktur_upload" readonly="1"/>
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index 2f800e34..64e6ad7b 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -61,6 +61,7 @@
</field>
<field name="partner_shipping_id" position="after">
<field name="real_shipping_id"/>
+ <field name="real_invoice_id"/>
<field name="approval_status" />
<field name="sales_tax_id" domain="[('type_tax_use','=','sale')]" required="1"/>
<field name="carrier_id" required="1"/>