[MIG] commission_simple_agent_purchase to 18

This commit is contained in:
Florian da Costa
2025-09-09 12:04:37 +02:00
parent 4d52d54460
commit 5ca18e6374
3 changed files with 7 additions and 8 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>