summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/sale_order.xml
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views/sale_order.xml')
-rwxr-xr-xindoteknik_custom/views/sale_order.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index ef72c10f..70e3392f 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -27,6 +27,12 @@
<field name="fee_third_party"/>
<field name="total_percent_margin"/>
</field>
+ <field name="analytic_account_id" position="after">
+ <field name="customer_type" attrs="{'required': ['|', ('create_date', '&gt;', '2023-06-28'), ('create_date', '=', False)]}"/>
+ <field name="npwp" placeholder='99.999.999.9-999.999' attrs="{'required': ['|', ('create_date', '&gt;', '2023-06-28'), ('create_date', '=', False)]}"/>
+ <field name="sppkp" attrs="{'invisible': [('customer_type','!=','pkp')], 'required': [('customer_type', '=', 'pkp')]}"/>
+ <field name="due_id" readonly="1"/>
+ </field>
<field name="partner_shipping_id" position="after">
<field name="real_shipping_id"/>
<field name="approval_status" />