[VIEW] street fields before ZIP and City
[burette/bikecoop.git] / view / bikecoop.xml
index 94e20d6..592ea54 100644 (file)
                             <group>
                                 <label for="street" string="Postal address"/>
                                 <div>
+                                    <field name="street" placeholder="Street …"/>
+                                    <field name="street2" placeholder="Street (following) …"/>
                                     <field name="zip" placeholder="Zip code"/>
                                     <field name="city" placeholder="CITY"/>
                                     <field name="country_id" placeholder="Country"/>
-                                    <field name="street" placeholder="Street …"/>
-                                    <field name="street2" placeholder="Street (following) …"/>
                                 </div>
                                 <field name="email" widget="email" placeholder="email"/>
                                 <field name="phone" placeholder="e.g. +33 4 00 00 00 00"/>
@@ -46,9 +46,9 @@
                             </group>
                             <group attrs="{'invisible': [('is_company','=',True)]}">
                                 <field name="year" placeholder="1900" attrs="{'required': [('is_company','=', False)]}"/>
-                                <field name="gender_id" domain="[('domain','=', 'gender')]" placeholder="Other, Female or Male" attrs="{'required': [('is_company','=', False)]}" widget="selection"/>
+                                <field name="gender_id" domain="[('domain','=', 'gender')]" attrs="{'required': [('is_company','=', False)]}" widget="selection"/>
                                 <field name="nationality_id" placeholder="France" attrs="{'required': [('is_company','=', False)]}"/>
-                                <field name="occupation_id" placeholder="Student/Employee/Other" domain="[('domain','=', 'occupation')]" attrs="{'required': [('is_company','=', False)]}" widget="selection"/>
+                                <field name="occupation_id" domain="[('domain','=', 'occupation')]" attrs="{'required': [('is_company','=', False)]}" widget="selection"/>
                             </group>
                         </group>
                         <notebook name="Volunteer activities">