summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2024-03-06 15:42:12 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2024-03-06 15:42:12 +0700
commit29dfec334ebf6a15a8a66e4af564fd5d812d8d67 (patch)
treed2482dea1109d93d9093ef7d2ec6c6b924c8da31 /indoteknik_custom/views
parent46d50e970b14ca7f3a8da53702ef2933178dbbf0 (diff)
Add validation confirm when partner use approval feature
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/res_partner.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/res_partner.xml b/indoteknik_custom/views/res_partner.xml
index c050ec62..370fcf7b 100644
--- a/indoteknik_custom/views/res_partner.xml
+++ b/indoteknik_custom/views/res_partner.xml
@@ -28,7 +28,7 @@
</group>
<field name="vat" position="after">
<field name="use_so_approval" attrs="{'invisible': [('parent_id', '!=', False), ('company_type', '!=', 'company')]}" />
- <field name="web_role" attrs="{'invisible': [('parent_id', '=', False), ('company_type', '!=', 'company')]}" />
+ <field name="web_role" attrs="{'invisible': ['|', ('parent_id', '=', False), ('company_type', '=', 'company')]}" />
</field>
</field>
</record>