Update contract_view.xml

use attributes  instead of replace
This commit is contained in:
Florent THOMAS
2021-01-22 15:25:24 +01:00
committed by Florent THOMAS
parent c79f87ff47
commit 4f5d00d31a

View File

@@ -45,8 +45,8 @@
<field name="priority">18</field>
<field name="inherit_id" ref="contract.contract_contract_supplier_form_view"/>
<field name="arch" type="xml">
<field name="partner_id" position="after">
<field name="payment_mode_id" domain="[('payment_type', '=', 'outbound')]"/>
<field name="payment_mode_id" position="attributes">
<attribute name="domain" >[('payment_type', '=', 'outbound')]</attribute>
</field>
</field>
</record>