mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
<!--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:
@@ -36,5 +36,19 @@
|
||||
</field>
|
||||
</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>
|
||||
|
||||
Reference in New Issue
Block a user