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.

37 lines
1.4 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_res_partner_filter_inherit_base" model="ir.ui.view">
<field name="name">res.partner.view.search.inherit</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_res_partner_filter" />
<field name="priority">40</field>
<field name="arch" type="xml">
<filter name="ffck_network" position="after">
<separator />
<filter name="crock_network" string="CROCK network"
domain="[('crck_partner_id','=',%(base.main_partner)d)]" />
</filter>
<filter name="hexagon" position="after">
<filter name="occitanie" string="Occitanie"
domain="[('state_id','=',%(l10n_fr_state.res_country_state_languedocroussillon)d)]" />
</filter>
</field>
</record>
<record id="contacts.action_contacts" model="ir.actions.act_window">
<field name="context">{'default_is_company': True,
'search_default_type_company':1,
'search_default_ffck_network':1,
'search_default_occitanie':1,
'search_default_country_department_groupby': 1}</field>
</record>
<record id="partner_contact_persons.action_persons" model="ir.actions.act_window">
<field name="context">{'default_is_company': False,
'search_default_type_person':1,
'search_default_crock_network':1,
'search_default_by_age_range': 1}</field>
</record>
</odoo>