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.

31 lines
1.2 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="view_partner_form" model="ir.ui.view">
  5. <field name="name">partner.priority.form</field>
  6. <field name="model">res.partner</field>
  7. <field name="inherit_id" ref="base.view_partner_form" />
  8. <field name="arch" type="xml">
  9. <field name="category_id" position="after">
  10. <field
  11. name="priority_id"
  12. options="{'no_create': True, 'no_open': True}"
  13. />
  14. </field>
  15. </field>
  16. </record>
  17. <record id="view_res_partner_filter" model="ir.ui.view">
  18. <field name="name">partner.priority.filter</field>
  19. <field name="model">res.partner</field>
  20. <field name="inherit_id" ref="base.view_res_partner_filter" />
  21. <field name="arch" type="xml">
  22. <filter name="group_country" position="after">
  23. <filter
  24. name="group_priority"
  25. string="Priority"
  26. context="{'group_by': 'priority_id'}"
  27. />
  28. </filter>
  29. </field>
  30. </record>
  31. </odoo>