Add area_id filters

This commit is contained in:
Youssef Elouahby 2018-10-26 13:11:39 +01:00
parent 51ab81f916
commit 5cc81003da

View File

@ -193,11 +193,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="phone" /> <field name="phone" />
<field name="mobile" /> <field name="mobile" />
<field name="email" /> <field name="email" />
<field name='area_id'/>
<filter name="single_parent" string="Single-parent" <filter name="single_parent" string="Single-parent"
domain="[('single_parent', '=', True)]" /> domain="[('single_parent', '=', True)]" />
<group string="Group By"> <group string="Group By">
<filter name="group_city" string="By city" <filter name="group_city" string="By city"
context="{'group_by': 'city'}"/> context="{'group_by': 'city'}"/>
<filter name='group_by_area_id' string="By area"
context='{"group_by": "area_id"}'/>
</group> </group>
</search> </search>
</field> </field>