12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <!-- Registros de caja -->
- <record id="eiru_import_statement_cash" model="ir.ui.view">
- <field name="name">eiru.import.statement.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="import-statement" attrs="{'invisible': [('state','!=','open')]}"> </div>
- </field>
- <field name="journal_id" position='after'>
- <field name="type_statement"/>
- </field>
- </field>
- </record>
- <!-- Extractos bancarios -->
- <record id="eiru_import_statement_bank" model="ir.ui.view">
- <field name="name">eiru.import.statement.bank</field>
- <field name="model">account.bank.statement</field>
- <field name="inherit_id" ref="account.view_bank_statement_form"/>
- <field name="arch" type="xml">
- <field name='state' position="before">
- <div class="import-statement" attrs="{'invisible': [('state','!=','draft')]}"> </div>
- </field>
- <field name="journal_id" position='after'>
- <field name="type_statement"/>
- </field>
- </field>
- </record>
- <!-- Agrupación por tipo de caja -->
- <record id="eiru_import_statement_search" model="ir.ui.view">
- <field name="name">eiru.import.statement.search</field>
- <field name="model">account.bank.statement</field>
- <field name="inherit_id" ref="account.view_account_bank_statement_filter"/>
- <field name="arch" type="xml">
- <search>
- <group expand="0" string="Group By">
- <filter string="Tipo de Caja" context="{'group_by':'type_statement'}"/>
- </group>
- </search>
- </field>
- </record>
- </data>
- </openerp>
|