summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/res_partner.xml
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-08-14 16:12:14 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-08-14 16:12:14 +0700
commitd47eb069978ce67bce1a19b6c824a53ca3d68801 (patch)
tree2427f680d68c8b136531d392eb36cf4262c7d35b /indoteknik_custom/views/res_partner.xml
parent2513b765773fca587dbd298e77732d2d005949c8 (diff)
parentd4df708e5195e1c0c3b8e0ad90b7518e5d4d48c2 (diff)
<iman> Merge branch 'production' of https://bitbucket.org/altafixco/indoteknik-addons into feature/tracking-order
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
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>