[IMP] use readable relation helper to generate a '6' m2m command

bzr revid: xmo@openerp.com-20121008133311-ejaix536syks41oo
This commit is contained in:
Xavier Morel
2012-10-08 15:33:11 +02:00
parent 443b5b9767
commit afee5b63ee
+1 -1
View File
@@ -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 [(6, 0, ids)], warnings
return REPLACE_WITH(ids), warnings
def _str_to_one2many(self, cr, uid, model, column, records, context=None):
commands = []