view_res_bank_line.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <!-- from -->
  5. <record id="eiru_bank_payments_references_res_bank_line" model="ir.ui.view">
  6. <field name="name">eiru.bank.payments.references.res.bank.line</field>
  7. <field name="model">res.bank.payments</field>
  8. <field name="arch" type="xml">
  9. <form string="Operaciones bancarias">
  10. <header>
  11. <div class='bank-paymnets-bank'></div>
  12. <field name="state" widget="statusbar"/>
  13. </header>
  14. <sheet string="Operaciones bancarias">
  15. <h1>
  16. <field name='name'/>
  17. </h1>
  18. <group col="2" >
  19. <group>
  20. <field name="bank_id" string="Banco"/>
  21. <field name="bank_payments_type_id" string="Tipo de pago"/>
  22. <field name="date" string="Fecha de operación"/>
  23. <field name="currency_id" string="Moneda"/>
  24. <field name="customer_id" string="Recibido de"/>
  25. </group>
  26. <group>
  27. <field name="number_cta" string="Nº Cuenta"/>
  28. <field name="number_cta_origin" string="Nº Cuenta Origen"/>
  29. <field name="name_holder" string="Nombre del titular"/>
  30. <field name="number" string="Nº cheque/boleta"/>
  31. <field name="cheque_type_id" string="Tipo de Cheque"/>
  32. <field name="date_maturity" string="Vencimiento"/>
  33. <field name="supplier_id" string="Emitido a"/>
  34. </group>
  35. </group>
  36. <group col="2">
  37. <group>
  38. <field name="amount_total" string="Valor Total"/>
  39. </group>
  40. <group>
  41. <field name="amount_receipt" string="Disponible a Cobrar"/>
  42. <field name="amount_payment" string="Disponible a Pagar"/>
  43. </group>
  44. </group>
  45. <notebook>
  46. <page string="Transactions">
  47. <field name="payments_line">
  48. <tree string="Paymntes lines" edit='false' delete='false' create='false'>
  49. <field name="date" string="Fecha"/>
  50. <field name="statement_id" string="Registros de caja"/>
  51. <field name="statement_line_id" string="Transacciones de Caja"/>
  52. <field name="type_operation" string="Tipo de operación"/>
  53. <field name="amount" string="Monto del pago"/>
  54. <field name="amount_currency" string="Importe Moneda"/>
  55. <field name="currency_id" string="Moneda"/>
  56. </tree>
  57. </field>
  58. </page>
  59. </notebook>
  60. <group>
  61. <field name="comment" string="Información adicional"/>
  62. </group>
  63. </sheet>
  64. </form>
  65. </field>
  66. </record>
  67. <!-- List -->
  68. <record id="eiru_bank_payments_references_res_bank_line_list" model="ir.ui.view">
  69. <field name="name">Listado de operaciónes bancarias</field>
  70. <field name="model">res.bank.payments</field>
  71. <field name="arch" type="xml">
  72. <tree>
  73. <field name="bank_id" string="Banco"/>
  74. <field name="bank_payments_type_id" string="Tipo de pago"/>
  75. <field name="number_cta" string="Nº Cuenta"/>
  76. <field name="name_holder" string="Nombre del titular"/>
  77. <field name="number" string="Nº cheque/boleta"/>
  78. <field name="date_maturity" string="Vencimiento"/>
  79. <field name="amount_total" string="Monto"/>
  80. <field name="currency_id" string="Currency"/>
  81. <field name="state" string="Estado"/>
  82. </tree>
  83. </field>
  84. </record>
  85. <!-- Search -->
  86. <record id="eiru_bank_payments_references_res_bank_line_search" model="ir.ui.view">
  87. <field name="name">res_bank_line_search</field>
  88. <field name="model">res.bank.payments</field>
  89. <field name="arch" type="xml">
  90. <search>
  91. <group string="Agrupar por">
  92. <filter string="Banco" context="{'group_by':'bank_id'}"/>
  93. <filter string="Tipo de pago" context="{'group_by':'bank_payments_type_id'}"/>
  94. <filter string="Moneda" context="{'group_by': 'currency_id'}"/>
  95. <filter string="Vencimiento" name="date_maturity" context="{'group_by':'date_maturity'}"/>
  96. <filter string="Estado" context="{'group_by':'state'}"/>
  97. </group>
  98. </search>
  99. </field>
  100. </record>
  101. <record id="eiru_bank_payments_line_tree" model="ir.actions.act_window">
  102. <field name="name">Operación bancaria</field>
  103. <field name="res_model">res.bank.payments</field>
  104. <field name="view_type">form</field>
  105. <field name="view_mode">tree,form</field>
  106. <field name="target">current</field>
  107. </record>
  108. <menuitem id="eiru_res_bank_payments_line" name="Operaciones bancarias" parent="account.menu_finance_bank_and_cash" action="eiru_bank_payments_line_tree" sequence="5" />
  109. </data>
  110. </openerp>