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.

28 lines
1.4 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record model="ir.ui.view" id="beesdoo_partner_form_view_remove_duplicate_cooperator_type">
  4. <field name="name">beesdoo.partner.form.view.remove_duplicate_cooperator_type</field>
  5. <field name="model">res.partner</field>
  6. <field name="inherit_id" ref="beesdoo_base.beesdoo_partner_form_view" />
  7. <field name="arch" type="xml">
  8. <field name="cooperator_type" position="replace" />
  9. </field>
  10. </record>
  11. <record model="ir.ui.view" id="beesdoo_easy_my_coop_partner_search_view">
  12. <field name="name">beesdoo_easy_my_coop.partner.search.view</field>
  13. <field name="model">res.partner</field>
  14. <field name="inherit_id" ref="beesdoo_base.beesdoo_partner_search_view" />
  15. <field name="arch" type="xml">
  16. <filter name="type_a" position="replace">
  17. <filter name="type_a" string="Cooperator type A" domain="[('cooperator_type', '=', 'share_a'), ('member', '=', True)]" />
  18. </filter>
  19. <filter name="type_b" position="replace">
  20. <filter name="type_b" string="Cooperator type B" domain="[('cooperator_type', '=', 'share_b'), ('member', '=', True)]" />
  21. </filter>
  22. <filter name="type_c" position="replace">
  23. <filter name="type_c" string="Cooperator type C" domain="[('cooperator_type', '=', 'share_c'), ('member', '=', True)]" />
  24. </filter>
  25. </field>
  26. </record>
  27. </odoo>