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.

44 lines
1.4 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <!-- Partner Identification Number Categories -->
  5. <record id="view_partner_id_category_form" model="ir.ui.view">
  6. <field name="name">res.partner.id_category.form</field>
  7. <field name="model">res.partner.id_category</field>
  8. <field name="type">form</field>
  9. <field name="arch" type="xml">
  10. <form string="Partner Identification Categories">
  11. <group>
  12. <field name="name" />
  13. <field name="code" />
  14. </group>
  15. </form>
  16. </field>
  17. </record>
  18. <record id="view_partner_id_category_tree" model="ir.ui.view">
  19. <field name="name">res.partner.id_category.tree</field>
  20. <field name="model">res.partner.id_category</field>
  21. <field name="type">tree</field>
  22. <field name="arch" type="xml">
  23. <tree string="Partner Identification Categories">
  24. <field name="name"/>
  25. <field name="code"/>
  26. </tree>
  27. </field>
  28. </record>
  29. <record id="action_partner_id_category" model="ir.actions.act_window">
  30. <field name="name">Partner ID Categories</field>
  31. <field name="res_model">res.partner.id_category</field>
  32. <field name="view_type">form</field>
  33. <field name="view_mode">tree,form</field>
  34. </record>
  35. <menuitem action="action_partner_id_category"
  36. id="menu_partner_id_category"
  37. parent="base.menu_config_address_book"/>
  38. </data>
  39. </openerp>