summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-11-09 09:55:34 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-11-09 09:55:34 +0700
commit14156f7d6f55eaa4e74310ee1aa4e5128aa17fff (patch)
tree8120cf7da795977f9602cc80b52a795673b83d35 /indoteknik_custom/views
parentc9a54676b0ba5b1e27e3619cd0443031bdd27fda (diff)
mandatory static npwp,sppkp,customer_type in sale order and fix log note journal entries
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/sale_order.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index c6187f60..5596c271 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -45,9 +45,9 @@
<field name="helper_by_id" readonly="1"/>
</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="customer_type" required="1"/>
+ <field name="npwp" placeholder='99.999.999.9-999.999' required="1"/>
+ <field name="sppkp" required="1"/>
<field name="email" required="1"/>
<field name="due_id" readonly="1"/>
<field name="source_id" domain="[('id', 'in', [32, 59, 60, 61])]" required="1"/>