Remove old fields in view and multi for issue669
This commit is contained in:
@@ -405,17 +405,11 @@ class ActionActWindowView(OSV):
|
||||
ondelete='CASCADE')
|
||||
act_window = fields.Many2One('ir.action.act_window', 'Action',
|
||||
ondelete='CASCADE')
|
||||
multi = fields.Boolean('On multiple doc.',
|
||||
help="If set to true, the action will not be displayed \n" \
|
||||
"on the bottom toolbar of a form views.")
|
||||
|
||||
def __init__(self):
|
||||
super(ActionActWindowView, self).__init__()
|
||||
self._order.insert(0, ('sequence', 'ASC'))
|
||||
|
||||
def default_multi(self, cursor, user, context=None):
|
||||
return False
|
||||
|
||||
ActionActWindowView()
|
||||
|
||||
|
||||
|
||||
@@ -214,7 +214,6 @@
|
||||
<field name="res_model" select="1"/>
|
||||
<field name="src_model" select="2"/>
|
||||
<field name="view_type"/>
|
||||
<field name="view"/>
|
||||
<field name="domain"/>
|
||||
</tree>
|
||||
]]>
|
||||
@@ -276,7 +275,6 @@
|
||||
<field name="name" select="1"/>
|
||||
<field name="type"/>
|
||||
<field name="wiz_name" select="1"/>
|
||||
<field name="multi"/>
|
||||
</tree>
|
||||
]]>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user