[IMP] ir.actions.act_window: make `multi` field visible in form view + improve label...
authorOlivier Dony <odo@openerp.com>
Thu, 20 Feb 2014 10:00:36 +0000 (11:00 +0100)
committerOlivier Dony <odo@openerp.com>
Thu, 20 Feb 2014 10:00:36 +0000 (11:00 +0100)
bzr revid: odo@openerp.com-20140220100036-uu0hg9lqhpc257pr

openerp/addons/base/ir/ir_actions.py
openerp/addons/base/ir/ir_actions.xml

index 21639ab..2e95b3e 100644 (file)
@@ -270,7 +270,7 @@ class ir_actions_act_window(osv.osv):
         'filter': fields.boolean('Filter'),
         'auto_search':fields.boolean('Auto Search'),
         'search_view' : fields.function(_search_view, type='text', string='Search View'),
-        'multi': fields.boolean('Action on Multiple Doc.', help="If set to true, the action will not be displayed on the right toolbar of a form view"),
+        'multi': fields.boolean('Restrict to lists', help="If checked and the action is bound to a model, it will only appear in the More menu on list views"),
     }
 
     _defaults = {
index 7e6c1f9..7ac0252 100644 (file)
                                     <field name="auto_refresh"/>
                                     <field name="auto_search"/>
                                     <field name="filter"/>
+                                    <field name="multi"/>
                                 </group>
                             </group>
                             <group string="Help">