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.

46 lines
1.7 KiB

  1. <!-- Copyright 2019 Patrick Wilson <patrickraymondwilson@gmail.com>
  2. License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
  3. <odoo>
  4. <record id="partner_priority_view_list" model="ir.ui.view">
  5. <field name="name">Priority List</field>
  6. <field name="model">partner.priority</field>
  7. <field name="arch" type="xml">
  8. <tree string="Priority">
  9. <field name="sequence" widget="handle" />
  10. <field name="name" />
  11. <field name="description" />
  12. </tree>
  13. </field>
  14. </record>
  15. <record id="partner_priority_view_form" model="ir.ui.view">
  16. <field name="name">Priority Form</field>
  17. <field name="model">partner.priority</field>
  18. <field name="arch" type="xml">
  19. <form string="Priority">
  20. <sheet>
  21. <div class="oe_title">
  22. <label for="name" class="oe_edit_only" string="Name" />
  23. <h1>
  24. <field name="name" />
  25. </h1>
  26. </div>
  27. <group>
  28. <field name="description" />
  29. </group>
  30. </sheet>
  31. </form>
  32. </field>
  33. </record>
  34. <record id="partner_priority_action" model="ir.actions.act_window">
  35. <field name="name">Priority Action</field>
  36. <field name="res_model">partner.priority</field>
  37. <field name="view_mode">tree,form</field>
  38. </record>
  39. <menuitem
  40. name="Priorities"
  41. id="res_partner_priority_menu"
  42. parent="contacts.res_partner_menu_config"
  43. action="partner_priority_action"
  44. sequence="101"
  45. />
  46. </odoo>