You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.3 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  4. <odoo>
  5. <record id="view_move_tree" model="ir.ui.view">
  6. <field name="name">Add move type column</field>
  7. <field name="model">account.move</field>
  8. <field name="inherit_id" ref="account.view_move_tree"/>
  9. <field name="arch" type="xml">
  10. <field name="state" position="after">
  11. <field name="move_type"/>
  12. </field>
  13. </field>
  14. </record>
  15. <record id="view_move_form" model="ir.ui.view">
  16. <field name="name">Add move type field</field>
  17. <field name="model">account.move</field>
  18. <field name="inherit_id" ref="account.view_move_form"/>
  19. <field name="arch" type="xml">
  20. <field name="ref" position="after">
  21. <field name="move_type"/>
  22. </field>
  23. </field>
  24. </record>
  25. <record id="view_account_move_filter" model="ir.ui.view">
  26. <field name="name">Add move type group by</field>
  27. <field name="model">account.move</field>
  28. <field name="inherit_id" ref="account.view_account_move_filter"/>
  29. <field name="arch" type="xml">
  30. <group expand="0" position="inside">
  31. <filter name="move_type" string="Move type" domain="[]" context="{'group_by':'move_type'}"/>
  32. </group>
  33. </field>
  34. </record>
  35. </odoo>