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.

36 lines
1.4 KiB

6 months ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="view_res_partner_filter_inherit_base" model="ir.ui.view">
  4. <field name="name">res.partner.view.search.inherit</field>
  5. <field name="model">res.partner</field>
  6. <field name="inherit_id" ref="base.view_res_partner_filter" />
  7. <field name="priority">40</field>
  8. <field name="arch" type="xml">
  9. <filter name="ffck_network" position="after">
  10. <separator />
  11. <filter name="crock_network" string="CROCK network"
  12. domain="[('crck_partner_id','=',%(base.main_partner)d)]" />
  13. </filter>
  14. <filter name="hexagon" position="after">
  15. <filter name="occitanie" string="Occitanie"
  16. domain="[('state_id','=',%(l10n_fr_state.res_country_state_languedocroussillon)d)]" />
  17. </filter>
  18. </field>
  19. </record>
  20. <record id="contacts.action_contacts" model="ir.actions.act_window">
  21. <field name="context">{'default_is_company': True,
  22. 'search_default_type_company':1,
  23. 'search_default_ffck_network':1,
  24. 'search_default_occitanie':1,
  25. 'search_default_country_department_groupby': 1}</field>
  26. </record>
  27. <record id="partner_contact_persons.action_persons" model="ir.actions.act_window">
  28. <field name="context">{'default_is_company': False,
  29. 'search_default_type_person':1,
  30. 'search_default_crock_network':1,
  31. 'search_default_by_age_range': 1}</field>
  32. </record>
  33. </odoo>