<!--Supplier--FORM view-->

Added view for supplier contracts, respecting the domain for payment_type.
Before was showing the inbound types in the supplier payment
This commit is contained in:
vinclar
2020-02-14 12:46:14 +01:00
committed by AmmarOSI
parent 9844440b48
commit 9f2b88b61c

View File

@@ -37,4 +37,18 @@
</field>
</record>
<!--Supplier FORM view-->
<record id="contract_contract_supplier_form_view" model="ir.ui.view">
<field name="name">contract.contract supplier form view (in contract_payment_mode)</field>
<field name="model">contract.contract</field>
<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>
</field>
</record>
</odoo>