[FIX] m2m command in import
command helpers create a single command, still need the list around commands and the tests would have caught it, if I'd run them... bzr revid: xmo@openerp.com-20121009070934-7i1hxuzumdu8x1jy
This commit is contained in:
parent
e8af13f0e8
commit
35c0e73eb4
|
@ -297,7 +297,7 @@ class ir_fields_converter(orm.Model):
|
|||
cr, uid, model, column, subfield, reference, context=context)
|
||||
ids.append(id)
|
||||
warnings.extend(ws)
|
||||
return REPLACE_WITH(ids), warnings
|
||||
return [REPLACE_WITH(ids)], warnings
|
||||
|
||||
def _str_to_one2many(self, cr, uid, model, column, records, context=None):
|
||||
commands = []
|
||||
|
|
Loading…
Reference in New Issue