123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <!-- Registros de caja -->
- <record id="eiru_statement_utility_cash" model="ir.ui.view">
- <field name="name">eiru.statement.utility.cash</field>
- <field name="model">account.bank.statement</field>
- <field name="inherit_id" ref="account.view_bank_statement_form2"/>
- <field name="arch" type="xml">
- <field name='state' position="before">
- <div class="eiru-statement-utility" attrs="{'invisible': [('state','!=','open')]}"></div>
- </field>
- <field name='state' position="before">
- <div class="eiru-statement-unlink" attrs="{'invisible': [('state','==','confirm')]}"></div>
- </field>
- <!-- open -->
- <xpath expr="//button[@name='button_open']" position="replace">
- <div class="eiru-statement-utility-open" states="draft"> </div>
- </xpath>
- <!-- confirm -->
- <xpath expr="//button[@name='button_confirm_cash']" position="replace"></xpath>
- <!-- Cancel -->
- <xpath expr="//button[@name='button_cancel']" position="replace">
- <div class="eiru-statement-utility-cancel" attrs="{'invisible': [('state','!=','confirm')]}"></div>
- </xpath>
- <!-- print -->
- <field name='state' position="before">
- <div class="eiru-statement-print" attrs="{'invisible': [('state','!=','confirm')]}"></div>
- </field>
- </field>
- </record>
- <!-- button_draft -->
- <record id="eiru_statement_utility_cash_cancel" model="ir.ui.view">
- <field name="name">eiru.statement.utility.cash.cancel</field>
- <field name="model">account.bank.statement</field>
- <field name="inherit_id" ref="account_cancel.bank_statement_draft_form_inherit2"/>
- <field name="arch" type="xml">
- <xpath expr="//button[@name='button_draft']" position="replace"></xpath>
- </field>
- </record>
- <!-- Extractos bancarios -->
- <record id="eiru_statement_utility_bank" model="ir.ui.view">
- <field name="name">eiru.statement.utility.bank</field>
- <field name="model">account.bank.statement</field>
- <field name="inherit_id" ref="account.view_bank_statement_form"/>
- <field name="arch" type="xml">
- <!-- Utility cashbox -->
- <field name='state' position="before">
- <div class="eiru-statement-utility" attrs="{'invisible': [('state','!=','open')]}"></div>
- </field>
- <!-- Eliminar -->
- <field name='state' position="before">
- <div class="eiru-statement-unlink" attrs="{'invisible': [('state','==','confirm')]}"></div>
- </field>
- <!-- Cancel cashbox -->
- <xpath expr="//button[@name='button_cancel']" position="replace">
- <div class="eiru-statement-utility-cancel" attrs="{'invisible': [('state','!=','confirm')]}"></div>
- </xpath>
- <!-- Open cashbox -->
- <xpath expr="//button[@name='button_confirm_bank']" position="replace">
- <div class="eiru-statement-utility-open" states="draft"> </div>
- </xpath>
- <!-- Resume -->
- <field name='state' position="before">
- <div class="eiru-statement-print" attrs="{'invisible': [('state','!=','confirm')]}"></div>
- </field>
- <xpath expr="//button[@name='button_draft']" position="replace"></xpath>
- </field>
- </record>
- </data>
- </openerp>
|