[MIG] commission_simple_agent_purchase to 18

This commit is contained in:
Florian da Costa
2025-09-09 12:04:37 +02:00
parent 7041ae1274
commit ee3546c2c1
3 changed files with 10 additions and 19 deletions

View File

@@ -12,7 +12,7 @@
<field name="inherit_id" ref="commission_simple.commission_result_form"/>
<field name="arch" type="xml">
<group name="main-right" position="inside">
<field name="purchase_id" attrs="{'invisible': [('assign_type', '!=', 'agent')]}"/>
<field name="purchase_id" invisible="assign_type != 'agent'"/>
</group>
</field>
</record>