[VIEW] res_partner:+allow search in county_code field
[burette/lhc.git] / view / membership.xml
index 8afb841..cac246c 100644 (file)
                    <filter icon="terp-personal" name="all_members_companies" domain="[('membership_state', 'in', ['invoiced','paid','free']),('is_company', '=', True)]" string="All Companies Members" help="Invoiced/Paid/Free and Companies"/>
                    <filter icon="terp-personal" name="all_members_individual" domain="[('membership_state', 'in', ['invoiced','paid','free']),('is_company', '=', False)]" string="All Individual Members" help="Invoiced/Paid/Free and Individuals"/>
                 </xpath>
+                <xpath expr="//group[@string='Group By...']" position="inside">
+                    <filter string="County" context="{'group_by': 'county_code'}" groups="lhc.group_employee_lhc,base.group_no_one"/>
+                </xpath>
+                <xpath expr="//search" position="inside">
+                    <field name="county_code"/>
+                    <field name="city"/>
+                </xpath>
             </field>
         </record>
     </data>