[FIX] incorrect views spec in relational fields 'more info' action, spotted by odo
bzr revid: xmo@openerp.com-20121008132054-y57mg2rhxg6hkx2s
This commit is contained in:
parent
53786034e3
commit
00c7d9f4c0
|
@ -199,7 +199,7 @@ class ir_fields_converter(orm.Model):
|
|||
warnings = []
|
||||
action = {'type': 'ir.actions.act_window', 'target': 'new',
|
||||
'view_mode': 'tree,form', 'view_type': 'form',
|
||||
'views': [(False, 'tree', (False, 'form'))],
|
||||
'views': [(False, 'tree'), (False, 'form')],
|
||||
'help': _(u"See all possible values")}
|
||||
if subfield is None:
|
||||
action['res_model'] = column._obj
|
||||
|
|
|
@ -18,7 +18,7 @@ def moreaction(**kwargs):
|
|||
target='new',
|
||||
view_mode='tree,form',
|
||||
view_type='form',
|
||||
views=[(False, 'tree', (False, 'form'))],
|
||||
views=[(False, 'tree'), (False, 'form')],
|
||||
help=u"See all possible values")
|
||||
|
||||
def values(seq, field='value'):
|
||||
|
|
Loading…
Reference in New Issue