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

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