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.

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