mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] contract_mode: fix payment_mode_id domain on supplier form
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
{
|
||||
"name": "Contract Payment Mode",
|
||||
"summary": "Payment mode in contracts and their invoices",
|
||||
"version": "15.0.1.0.1",
|
||||
"version": "15.0.1.1.0",
|
||||
"author": "Domatix, " "Tecnativa, " "Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/contract",
|
||||
"depends": ["contract", "account_payment_partner"],
|
||||
|
||||
@@ -46,11 +46,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>
|
||||
|
||||
Reference in New Issue
Block a user