mirror of
https://gitlab.com/flectra-community/bank-payment.git
synced 2024-11-27 16:07:27 +00:00
25 lines
793 B
XML
25 lines
793 B
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!--
|
||
|
© 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||
|
-->
|
||
|
|
||
|
<flectra>
|
||
|
|
||
|
|
||
|
<record id="view_order_form" model="ir.ui.view">
|
||
|
<field name="name">account_banking_mandate_sale.sale_order.form</field>
|
||
|
<field name="model">sale.order</field>
|
||
|
<field name="inherit_id" ref="account_payment_sale.view_order_form"/>
|
||
|
<field name="arch" type="xml">
|
||
|
<field name="fiscal_position_id" position="after">
|
||
|
<field name="commercial_partner_id" invisible="1"/>
|
||
|
<field name="mandate_id"
|
||
|
domain="[('partner_id', '=', commercial_partner_id), ('state', 'in', ('draft', 'valid'))]"/>
|
||
|
</field>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
|
||
|
</flectra>
|