Odoo modules about association management
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

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_country_form_inherit_base" model="ir.ui.view">
<field name="name">res.country.view.form.inherit</field>
<field name="model">res.country</field>
<field name="inherit_id" ref="base.view_country_form" />
<field name="priority">30</field>
<field name="arch" type="xml">
<field name="state_required" position="after">
<field name="is_french" groups="base.group_no_one" />
</field>
</field>
</record>
<record id="res_country_view_search" model="ir.ui.view">
<field name="name">res.country.view.search</field>
<field name="model">res.country</field>
<field name="arch" type="xml">
<search>
<field name="name" filter_domain="['|', ('name', 'ilike', self), ('code', 'ilike', self)]" />
<filter name="french" string="French" domain="[('is_french', '=', True)]" />
<filter name="europe" string="Europe" domain="[('country_group_ids', 'in', %(base.europe)d)]" />
<group name="group_by" expand="0">
<filter name="by_group" string="Country Group" context="{'group_by': 'country_group_ids'}" />
</group>
</search>
</field>
</record>
</odoo>