1234567891011121314151617181920212223242526272829303132 |
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <record id="view_bank_voucher_statement_form" model="ir.ui.view">
- <field name="name">account.bank.vocuher.statement.form.inherit.voucher</field>
- <field name="model">account.bank.statement</field>
- <field name="inherit_id" ref="account.view_bank_statement_form"/>
- <field name="arch" type="xml">
- <div name="import_buttons">
- <button class="oe_inline oe_stat_button" context="{'default_journal_id': journal_id}" name="%(action_voucher_populate_statement)d" string=" Pagos" type="action" attrs="{'invisible':[('state','=','confirm')]}" widget="statinfo" icon="fa-list"/>
- </div>
- <xpath expr="//field[@name='bank_account_id']" position="before">
- <field name="voucher_id"/>
- </xpath>
- </field>
- </record>
-
- <record id="view_bank_voucher_statement_form2" model="ir.ui.view">
- <field name="name">account.bank.vocuher.statement.form.inherit.voucher2</field>
- <field name="model">account.bank.statement</field>
- <field name="inherit_id" ref="account.view_bank_statement_form2"/>
- <field name="arch" type="xml">
- <label for="name" position="before">
- <div class="oe_right oe_button_box" name="import_buttons">
- <button class="oe_inline oe_stat_button" name="%(action_voucher_populate_statement)d" string=" Pagos" type="action" attrs="{'invisible':[('state','!=','open')]}" context="{'default_journal_id': journal_id}" widget="statinfo" icon="fa-list"/>
- </div>
- </label>
- </field>
- </record>
- </data>
- </openerp>
|