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.

30 lines
1.0 KiB

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- © 2015 Antiun Ingenieria S.L. - Javier Iniesta
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
  4. <odoo>
  5. <record id="res_partner_sector_action" model="ir.actions.act_window">
  6. <field name="name">Sectors</field>
  7. <field name="res_model">res.partner.sector</field>
  8. <field name="view_type">form</field>
  9. <field name="view_mode">tree</field>
  10. </record>
  11. <record id="res_partner_sector_tree_view" model="ir.ui.view">
  12. <field name="name">Partner Sector tree</field>
  13. <field name="model">res.partner.sector</field>
  14. <field name="arch" type="xml">
  15. <tree string="Sectors" editable="top">
  16. <field name="name"/>
  17. <field name="parent_id"/>
  18. </tree>
  19. </field>
  20. </record>
  21. <menuitem action="res_partner_sector_action"
  22. id="menu_res_partner_sector"
  23. name="Sectors"
  24. parent="base.menu_config_address_book"
  25. sequence="3"/>
  26. </odoo>