diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-06-23 15:31:23 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-06-23 15:31:23 +0700 |
| commit | dbe06610522bea7ff86d517dea626d91a59a73c8 (patch) | |
| tree | 0434d2f0730f7d59f47dceda730c205bd51a5b39 /indoteknik_custom/views/sale_order.xml | |
| parent | fb8abc000707a2b8ba1fb0d16c1d8cbbd640ea34 (diff) | |
non pkp and pkp
Diffstat (limited to 'indoteknik_custom/views/sale_order.xml')
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index 222fb057..450b3303 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -27,6 +27,9 @@ <field name="total_percent_margin"/> </field> <field name="analytic_account_id" position="after"> + <field name="customer_type" required="1"/> + <field name="sppkp" attrs="{'invisible': [('customer_type','!=','pkp')], 'required': [('customer_type','=','pkp')]}"/> + <field name="npwp" attrs="{'invisible': [('customer_type','!=','pkp')], 'required': [('customer_type','=','pkp')]}"/> <field name="due_id" readonly="1"/> </field> <field name="partner_shipping_id" position="after"> |
