[FIX] Fix a problem with context argumetn

lp bug: https://launchpad.net/bugs/725081 fixed

bzr revid: quentin@tempo-quentin-20110225164215-u258ini96zn2axyd
This commit is contained in:
Quentin THEURET
2011-02-25 17:42:15 +01:00
parent 1ab1c15e3c
commit 21d110853f
+1 -1
View File
@@ -184,7 +184,7 @@ class base_synchro(osv.osv_memory):
def data_transform(self, cr, uid, pool_src, pool_dest, object, data, action='u', context=None):
self.meta.setdefault(pool_src, {})
if not object in self.meta[pool_src]:
self.meta[pool_src][object] = pool_src.get(object).fields_get(cr, uid, context=context)
self.meta[pool_src][object] = pool_src.get(object).fields_get(cr, uid, context)
fields = self.meta[pool_src][object]
for f in fields: