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.

47 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><field name="name" /></h1>
  24. </div>
  25. <group>
  26. <field name="description"/>
  27. </group>
  28. </sheet>
  29. </form>
  30. </field>
  31. </record>
  32. <record id="partner_priority_action" model="ir.actions.act_window">
  33. <field name="name">Priority Action</field>
  34. <field name="res_model">partner.priority</field>
  35. <field name="view_mode">tree,form</field>
  36. </record>
  37. <menuitem
  38. name="Priorities"
  39. id="res_partner_priority_menu"
  40. parent="contacts.res_partner_menu_config"
  41. action="partner_priority_action"
  42. sequence="101"/>
  43. </odoo>