[VIEW] +use simple theme tree view for volunteer activities
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Mon, 28 Dec 2015 10:13:57 +0000 (11:13 +0100)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Mon, 28 Dec 2015 10:13:57 +0000 (11:13 +0100)
view/bikecoop.xml

index 163b996..4a41e9c 100644 (file)
                         <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 ..." context="{'tree_view_ref': 'view_themes_simple_tree'}"/>
+                                <field name="volunteer_ids" domain="[('domain','=', 'volunteer')]" string="Want to be volunteer in ..." context="{'tree_view_ref': 'bikecoop.view_themes_simple_tree'}">
+                                    <tree string="Volunteer activities">
+                                        <field name="name"/>
+                                    </tree>
+                                </field>
                                 <label string="Other volunteer activities and comments"/>
                                 <field name="comment"/>
                             </page>