177.1.14
by Alexis de Lattre
Add the ability to cancel a mandate. |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
2 |
<!--
|
|
3 |
Copyright (C) 2013 Akretion (http://www.akretion.com)
|
|
4 |
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
|
5 |
The licence is in the file __openerp__.py
|
|
6 |
-->
|
|
7 |
<openerp>
|
|
8 |
<data>
|
|
9 |
||
10 |
<record id="invoice_form" model="ir.ui.view"> |
|
11 |
<field name="name">add.sdd.mandate.on.customer.invoice.form</field> |
|
12 |
<field name="model">account.invoice</field> |
|
13 |
<field name="inherit_id" ref="account.invoice_form"/> |
|
14 |
<field name="arch" type="xml"> |
|
15 |
<field name="partner_bank_id" position="after"> |
|
16 |
<field name="sdd_mandate_id" domain="[('partner_id', '=', partner_id), ('state', '=', 'valid')]" attrs="{'invisible': [('type', '=', 'out_refund')]}"/> |
|
17 |
</field>
|
|
18 |
</field>
|
|
19 |
</record>
|
|
20 |
||
21 |
</data>
|
|
22 |
</openerp>
|