[view] +name attribute for volunteer notebook
[burette/bikecoop.git] / view / bikecoop.xml
index de132ef..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 ..."/>
         <menuitem id="menu_bikecoop" 
             sequence="20"
             name="Bikecoop"
-            web_icon="images/bikecoop.png"
-            web_icon_hover="images/bikecoop-hover.png"
+            groups="base.group_user,point_of_sale.group_pos_user"
             action="act_open_bikecoop_members_view"/>
 
         <menuitem id="menu_bikecoop_members"
+            name="Bikecoop members"
             parent="menu_bikecoop"
             sequence="20"/>
 
         </record>
 
         <menuitem id="menu_configuration" 
+            groups="base.group_no_one"
             parent="menu_bikecoop"
             sequence="20"
             name="Configuration"/>