[PYTHON][VIEW][TRANS] +rna and siren field for companies
[burette/lhc.git] / view / membership.xml
index 8afb841..49a347a 100644 (file)
                 </xpath>
                 <xpath expr="//page[@string='Membership']/group/group/div" position="after">
                     <field name="kit_sent" attrs="{'invisible': [('membership_state','not in', ('old', 'waiting', 'invoiced', 'free', 'paid'))]}"/>
+                    <field name="bikecoop_activity_start" attrs="{'invisible': [('is_company','=', False)]}" />
+                    <field name="bikecoop_activity_stop" attrs="{'invisible': [('is_company','=', False)]}"/>
+                    <field name="rna" placeholder="W123456789" attrs="{'invisible': [('is_company','=', False)]}"/>
+                    <field name="siren" placeholder="123456789" attrs="{'invisible': [('is_company','=', False)]}"/>
                 </xpath>
             </field>
         </record>
                    <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>