<field name="is_company"/> <label for="is_company"/>)
</div>
<h1>
- <field name="name"/>
+ <field name="name" placeholder="Firstname LASTNAME"/>
</h1>
</div>
- <group>
- <group>
- <label for="street" string="Postal address"/>
- <div>
- <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="..."/>
- <field name="email" widget="email" placeholder="email"/>
- <field name="phone" placeholder="e.g. +32.81.81.37.00"/>
- </div>
- </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)]}"/>
- <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)]}"/>
- </group>
- </group>
- <notebook name="Volunteer activities">
- <page string="Volunteer activities" attrs="{'invisible': [('is_company','=',True)]}">
- <label string="Want to be volunteer in ..."/>
- <field name="volunteer_ids" domain="[('domain','=', 'volunteer')]" string="Want to be volunteer in ..."/>
- <label string="Other volunteer activities and comments"/>
- <field name="comment"/>
+ <notebook colspan="4">
+ <page string="Main informations">
+ <group>
+ <group>
+ <label for="street" string="Postal address"/>
+ <div>
+ <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="..."/>
+ </div>
+ <field name="email" widget="email" placeholder="email"/>
+ <field name="phone" placeholder="e.g. +33 4 00 00 00 00"/>
+ <field name="mobile" placeholder="e.g. +33 6 00 00 00 00"/>
+ </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="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"/>
+ </group>
+ </group>
+ <notebook name="Volunteer activities">
+ <page string="Volunteer activities" attrs="{'invisible': [('is_company','=',True)]}">
+ <label string="Want to be volunteer in ..."/>
+ <field name="volunteer_ids" domain="[('domain','=', 'volunteer')]" string="Want to be volunteer in ..."/>
+ <label string="Other volunteer activities and comments"/>
+ <field name="comment"/>
+ </page>
+ </notebook>
</page>
</notebook>
</sheet>
<field name="context">{'default_domain': 'occupation'}</field>
</record>
+ <menuitem id="menu_bikecoop"
+ name="Bikecoop"
+ parent="base.menu_config"
+ sequence="20"/>
+
<menuitem id="menu_volunteer_ids"
- parent="base.menu_marketing_config_association"
- sequence="20"
+ parent="menu_bikecoop"
+ sequence="10"
action="act_open_volunteer_ids_view"/>
<menuitem id="menu_occupation"
- parent="base.menu_marketing_config_association"
+ parent="menu_bikecoop"
sequence="20"
action="act_open_occupation_view"/>
</data>