[view] +name attribute for volunteer notebook
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Tue, 15 Jan 2013 12:33:50 +0000 (13:33 +0100)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Tue, 15 Jan 2013 12:33:50 +0000 (13:33 +0100)
For further simple xpath usage

view/bikecoop.xml

index c200c08..8483ebc 100644 (file)
@@ -48,7 +48,7 @@
                         <field name="occupation_id" placeholder="Student/Employee/Other" domain="[('domain','=', 'occupation')]" attrs="{'required': [('is_company','=', False)]}"/>
                     </group>
                 </group>
-                <notebook>
+                <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 ..."/>