import_statement.xml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <!-- Registros de caja -->
  5. <record id="eiru_import_statement_cash" model="ir.ui.view">
  6. <field name="name">eiru.import.statement.cash</field>
  7. <field name="model">account.bank.statement</field>
  8. <field name="inherit_id" ref="account.view_bank_statement_form2"/>
  9. <field name="arch" type="xml">
  10. <field name='state' position="before">
  11. <div class="import-statement" attrs="{'invisible': [('state','!=','open')]}"> </div>
  12. </field>
  13. <field name="journal_id" position='after'>
  14. <field name="type_statement"/>
  15. </field>
  16. </field>
  17. </record>
  18. <!-- Extractos bancarios -->
  19. <record id="eiru_import_statement_bank" model="ir.ui.view">
  20. <field name="name">eiru.import.statement.bank</field>
  21. <field name="model">account.bank.statement</field>
  22. <field name="inherit_id" ref="account.view_bank_statement_form"/>
  23. <field name="arch" type="xml">
  24. <field name='state' position="before">
  25. <div class="import-statement" attrs="{'invisible': [('state','!=','draft')]}"> </div>
  26. </field>
  27. <field name="journal_id" position='after'>
  28. <field name="type_statement"/>
  29. </field>
  30. </field>
  31. </record>
  32. <!-- Agrupación por tipo de caja -->
  33. <record id="eiru_import_statement_search" model="ir.ui.view">
  34. <field name="name">eiru.import.statement.search</field>
  35. <field name="model">account.bank.statement</field>
  36. <field name="inherit_id" ref="account.view_account_bank_statement_filter"/>
  37. <field name="arch" type="xml">
  38. <search>
  39. <group expand="0" string="Group By">
  40. <filter string="Tipo de Caja" context="{'group_by':'type_statement'}"/>
  41. </group>
  42. </search>
  43. </field>
  44. </record>
  45. </data>
  46. </openerp>