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.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_continent_tree" model="ir.ui.view">
  5. <field name="name">res.continent.tree</field>
  6. <field name="model">res.continent</field>
  7. <field name="arch" type="xml">
  8. <tree string="Continents">
  9. <field name="name"/>
  10. </tree>
  11. </field>
  12. </record>
  13. <record id="view_continent_form" model="ir.ui.view">
  14. <field name="name">res.continent.form</field>
  15. <field name="model">res.continent</field>
  16. <field name="arch" type="xml">
  17. <form string="Continent">
  18. <group name="main">
  19. <field name="name"/>
  20. </group>
  21. <group name="countries" string="Countries">
  22. <field name="country_ids" nolabel="1" readonly="1"/>
  23. </group>
  24. </form>
  25. </field>
  26. </record>
  27. <record id="action_continent" model="ir.actions.act_window">
  28. <field name="name">Continents</field>
  29. <field name="res_model">res.continent</field>
  30. <field name="view_mode">tree,form</field>
  31. <field name="help">Display and manage the list of all continents that can be assigned to your partner records.</field>
  32. </record>
  33. <menuitem id="menu_continent_partner"
  34. action="action_continent"
  35. parent="base.menu_localisation"
  36. sequence="1" groups="base.group_no_one"/>
  37. </data>
  38. </openerp>