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

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_academic_title_form" model="ir.ui.view">
  5. <field name="name">partner.academic.title.form</field>
  6. <field name="model">partner.academic.title</field>
  7. <field name="arch" type="xml">
  8. <form>
  9. <sheet>
  10. <group>
  11. <field name="name" />
  12. <field name="sequence" />
  13. <field name="active" />
  14. </group>
  15. </sheet>
  16. </form>
  17. </field>
  18. </record>
  19. <record id="view_academic_title_tree" model="ir.ui.view">
  20. <field name="name">partner.academic.title.tree</field>
  21. <field name="model">partner.academic.title</field>
  22. <field name="arch" type="xml">
  23. <tree editable="bottom">
  24. <field name="sequence"/>
  25. <field name="name" />
  26. </tree>
  27. </field>
  28. </record>
  29. <record id="open_academic_title" model="ir.actions.act_window">
  30. <field name="name">Academic Titles</field>
  31. <field name="res_model">partner.academic.title</field>
  32. <field name="view_type">form</field>
  33. <field name="view_mode">tree,form</field>
  34. </record>
  35. <menuitem id="menu_academic_title" name="Academic Titles" parent="base.menu_config_address_book" groups="base.group_system" action="open_academic_title" sequence="4"/>
  36. </data>
  37. </openerp>