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.

43 lines
1.9 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2015-2017 ACSONE SA/NV
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  4. <odoo>
  5. <data>
  6. <record id="view_academic_title_form" model="ir.ui.view">
  7. <field name="name">partner.academic.title.form</field>
  8. <field name="model">partner.academic.title</field>
  9. <field name="arch" type="xml">
  10. <form>
  11. <sheet>
  12. <group>
  13. <field name="name" />
  14. <field name="sequence" />
  15. <field name="active" />
  16. </group>
  17. </sheet>
  18. </form>
  19. </field>
  20. </record>
  21. <record id="view_academic_title_tree" model="ir.ui.view">
  22. <field name="name">partner.academic.title.tree</field>
  23. <field name="model">partner.academic.title</field>
  24. <field name="arch" type="xml">
  25. <tree editable="bottom">
  26. <field name="sequence"/>
  27. <field name="name" />
  28. </tree>
  29. </field>
  30. </record>
  31. <record id="open_academic_title" model="ir.actions.act_window">
  32. <field name="name">Academic Titles</field>
  33. <field name="res_model">partner.academic.title</field>
  34. <field name="view_type">form</field>
  35. <field name="view_mode">tree,form</field>
  36. </record>
  37. <!-- this menu his managed in partner_contact_configuration (visible if your are in group_system)
  38. group_system is activate in developper mode
  39. -->
  40. <menuitem id="menu_academic_title" name="Academic Titles" parent="partner_contact_configuration.menu_config_contacts" groups="base.group_no_one" action="open_academic_title" sequence="4"/>
  41. </data>
  42. </odoo>