summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/res_partner.xml
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views/res_partner.xml')
-rw-r--r--indoteknik_custom/views/res_partner.xml17
1 files changed, 16 insertions, 1 deletions
diff --git a/indoteknik_custom/views/res_partner.xml b/indoteknik_custom/views/res_partner.xml
index b928b046..d77e09b8 100644
--- a/indoteknik_custom/views/res_partner.xml
+++ b/indoteknik_custom/views/res_partner.xml
@@ -26,8 +26,17 @@
<field name="pareto_status"/>
<field name="digital_invoice_tax"/>
</field>
+ <field name="nama_wajib_pajak" position="attributes">
+ <attribute name="required">1</attribute>
+ </field>
+ <field name="npwp" position="attributes">
+ <attribute name="required">1</attribute>
+ </field>
+ <field name="alamat_lengkap_text" position="attributes">
+ <attribute name="required">1</attribute>
+ </field>
<field name="npwp" position="before">
- <field name="customer_type"/>
+ <field name="customer_type" required="1"/>
</field>
<field name="is_berikat" position="after">
<field name="pakta_integritas"/>
@@ -47,6 +56,12 @@
<field name="main_parent_id" invisible="1" />
<field name="site_id" attrs="{'readonly': [('parent_id', '=', False)]}" domain="[('partner_id', '=', main_parent_id)]" context="{'default_partner_id': active_id}" />
</xpath>
+ <xpath expr="//field[@name='property_payment_term_id']" position="attributes">
+ <attribute name="readonly">1</attribute>
+ </xpath>
+ <xpath expr="//field[@name='property_supplier_payment_term_id']" position="attributes">
+ <attribute name="readonly">1</attribute>
+ </xpath>
</field>
</record>
</data>