summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/res_partner.xml
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-03-12 04:56:55 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-03-12 04:56:55 +0000
commitf43c76e2e7fb1a2e46f6e698afb1da74961cad50 (patch)
tree18b80d3d6dd74022f01d0663d4a349be6c662193 /indoteknik_custom/views/res_partner.xml
parent41056a3fcf9cf80ac3609ab32223ffbac5b3ad83 (diff)
parentb7b71be97a73f454f2df9fd9a37f5017c82192ae (diff)
Merged in feature/web-sale-approval (pull request #136)
Feature/web sale approval
Diffstat (limited to 'indoteknik_custom/views/res_partner.xml')
-rw-r--r--indoteknik_custom/views/res_partner.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/indoteknik_custom/views/res_partner.xml b/indoteknik_custom/views/res_partner.xml
index da2dec99..370fcf7b 100644
--- a/indoteknik_custom/views/res_partner.xml
+++ b/indoteknik_custom/views/res_partner.xml
@@ -26,6 +26,10 @@
<group name="purchase" position="inside">
<field name="leadtime"/>
</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>
</field>
</record>
</data>