mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
26 lines
801 B
XML
26 lines
801 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2015 Akretion (http://www.akretion.com)
|
|
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
|
The licence is in the file __openerp__.py
|
|
-->
|
|
<openerp>
|
|
<data>
|
|
|
|
|
|
<record id="view_create_payment_order" model="ir.ui.view">
|
|
<field name="name">account_payment_partner.payment.order.create.form</field>
|
|
<field name="model">payment.order.create</field>
|
|
<field name="inherit_id" ref="account_banking_payment_export.view_create_payment_order"/>
|
|
<field name="arch" type="xml">
|
|
<field name="invoice" position="after">
|
|
<field name="payment_mode"
|
|
attrs="{'invisible': [('invoice', '=', False)], 'required': [('invoice', '=', True)]}"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
</data>
|
|
</openerp>
|