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.

67 lines
2.3 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data noupdate="0">
  4. <record id="view_res_partner_revision_tree" model="ir.ui.view">
  5. <field name="name">res.partner.revision.tree</field>
  6. <field name="model">res.partner.revision</field>
  7. <field name="arch" type="xml">
  8. <tree string="Partner Revision">
  9. <field name="partner_id"/>
  10. <field name="date"/>
  11. </tree>
  12. </field>
  13. </record>
  14. <record id="view_res_partner_revision_form" model="ir.ui.view">
  15. <field name="name">res.partner.revision.form</field>
  16. <field name="model">res.partner.revision</field>
  17. <field name="arch" type="xml">
  18. <form string="Partner Revision">
  19. <sheet string="Partner Revision">
  20. <group>
  21. <field name="partner_id"/>
  22. <field name="date"/>
  23. </group>
  24. <group>
  25. <field name="note"/>
  26. </group>
  27. <group>
  28. <field name="change_ids" nolabel="1">
  29. <tree>
  30. <field name="field_id" context="{'no_open': true}"/>
  31. <field name="current_value"/>
  32. <field name="new_value"/>
  33. <field name="state"/>
  34. </tree>
  35. </field>
  36. </group>
  37. </sheet>
  38. </form>
  39. </field>
  40. </record>
  41. <record id="view_res_partner_revision_search" model="ir.ui.view">
  42. <field name="name">res.partner.revision.search</field>
  43. <field name="model">res.partner.revision</field>
  44. <field name="arch" type="xml">
  45. <search string="Partner Revision">
  46. <field name="partner_id"/>
  47. </search>
  48. </field>
  49. </record>
  50. <record model="ir.actions.act_window" id="action_res_partner_revision_view">
  51. <field name="name">Partner Revision</field>
  52. <field name="type">ir.actions.act_window</field>
  53. <field name="res_model">res.partner.revision</field>
  54. <field name="view_type">form</field>
  55. <field name="view_mode">tree,form</field>
  56. <field name="search_view_id" ref="view_res_partner_revision_search"/>
  57. </record>
  58. <menuitem id="menu_res_partner_revision"
  59. parent="base.menu_base_config"
  60. sequence="20"
  61. action="action_res_partner_revision_view"/>
  62. </data>
  63. </openerp>