view_res_bank.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <function model="res.bank" name="CreateUpdateListBanks"/>
  5. <record id="eiru_bank_payments_references_res_bank" model="ir.ui.view">
  6. <field name="name">eiru.bank.payments.references.res.bank</field>
  7. <field name="model">res.bank</field>
  8. <field name="inherit_id" ref="base.view_res_bank_form"/>
  9. <field name="arch" type="xml">
  10. <field name="phone" position="before">
  11. <field name="ruc"/>
  12. </field>
  13. </field>
  14. </record>
  15. <record id="eiru_bank_payments_references_res_bank_tree" model="ir.ui.view">
  16. <field name="name">eiru.bank.payments.references.res.bank</field>
  17. <field name="model">res.bank</field>
  18. <field name="inherit_id" ref="base.view_res_bank_tree"/>
  19. <field name="arch" type="xml">
  20. <field name="name" position="after">
  21. <field name="ruc"/>
  22. <field name="phone"/>
  23. <field name="fax"/>
  24. </field>
  25. <field name="bic" position='replace' />
  26. <field name="country" position='replace' />
  27. </field>
  28. </record>
  29. <record id="eiru_bank_payments_tree" model="ir.actions.act_window">
  30. <field name="name">Bancos</field>
  31. <field name="res_model">res.bank</field>
  32. <field name="view_type">form</field>
  33. <field name="view_mode">tree,form</field>
  34. <field name="target">current</field>
  35. </record>
  36. <menuitem id="eiru_res_bank_payments" name="Bancos" parent="account.menu_finance_bank_and_cash" action="eiru_bank_payments_tree" sequence="2"/>
  37. </data>
  38. </openerp>