[FIX] base.ir_edi: call _update method of ir.model.data on import

bzr revid: hmo@tinyerp.com-20110715105739-6vvwjlmghh19pjsu
This commit is contained in:
Harry (OpenERP)
2011-07-15 16:27:39 +05:30
parent 1d7eb0cdc2
commit 69259d0171
+1 -1
View File
@@ -519,5 +519,5 @@ class edi(object):
values[field] = one2many_ids
else:
values[field] = edi_field_value
return self.pool.get(self._name).create(cr, uid, values, context=context)
return model_data._update(cr, uid, self._name, edi_module, values, context=context)
# vim: ts=4 sts=4 sw=4 si et