1
<?xml version="1.0" encoding="utf-8"?>
4
<wizard string="Import invoices" model="account.bank.statement" name="populate_statement_from_invoice" menu="False" id="wizard_statement_from_invoice_lines"/>
5
<record id="view_bank_statement_form_invoice_inherit" model="ir.ui.view">
6
<field name="name">account.bank.statement.invoice.form.inherit01</field>
7
<field name="model">account.bank.statement</field>
8
<field name="type">form</field>
9
<field name="inherit_id" ref="account_voucher.view_bank_statement_form_invoice"/>
10
<field name="arch" type="xml">
11
<button name="%(account_voucher.action_view_account_statement_from_invoice_lines)d" position="replace">
12
<button name="%(wizard_statement_from_invoice_lines)d" string="Import Invoices" type="action" icon="gtk-execute" attrs="{'invisible':[('state','=','confirm')]}"/>