[IMP] ir.actions.act_window: make `multi` field visible in form view + improve label/desc

bzr revid: odo@openerp.com-20140220100036-uu0hg9lqhpc257pr
This commit is contained in:
Olivier Dony 2014-02-20 11:00:36 +01:00
parent 24111f62f9
commit d4e62ca713
2 changed files with 2 additions and 1 deletions

View 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 = {

View File

@ -180,6 +180,7 @@
<field name="auto_refresh"/>
<field name="auto_search"/>
<field name="filter"/>
<field name="multi"/>
</group>
</group>
<group string="Help">