account_voucher_view.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="account_voucher_vendor_view" model="ir.ui.view">
  5. <field name="name">account.voucher.vendor</field>
  6. <field name="model">account.voucher</field>
  7. <field name="inherit_id" ref="account_voucher.view_vendor_receipt_form"/>
  8. <field name="arch" type="xml">
  9. <field name="journal_id" position="after">
  10. <field name="employee_id"/>
  11. </field>
  12. <field name="name" position="after">
  13. <field name="employee_id2"/>
  14. </field>
  15. </field>
  16. </record>
  17. <record id="view_voucher_tree" model="ir.ui.view">
  18. <field name="name">view_voucher_tree</field>
  19. <field name="model">account.voucher</field>
  20. <field name="inherit_id" ref="account_voucher.view_voucher_tree"/>
  21. <field name="arch" type="xml">
  22. <field name="reference" position="after">
  23. <field name="employee_id"></field>
  24. <field name="employee_id2"></field>
  25. </field>
  26. </field>
  27. </record>
  28. <record id="view_accountvoucher_filter_search1" model="ir.ui.view">
  29. <field name="name">accountvoucher.filter.search1</field>
  30. <field name="model">account.voucher</field>
  31. <field name="inherit_id" ref="account_voucher.view_voucher_filter_customer_pay" />
  32. <field name="arch" type="xml">
  33. <search>
  34. <field name="employee_id" string="Cobrador Agendado"/>
  35. <field name="employee_id2" string="Cobrador Real"/>
  36. <separator/>
  37. <group string="Agrupar por">
  38. <filter string="Cobrador Real" context="{'group_by':'employee_id2'}"/>
  39. </group>
  40. </search>
  41. </field>
  42. </record>
  43. </data>
  44. </openerp>