[FIX]:problem with create_date in base synchro
lp bug: https://launchpad.net/bugs/725073 fixed bzr revid: ksa@tinyerp.co.in-20110322085152-xmq5lgh93351l7xh
This commit is contained in:
parent
8c5349a683
commit
7be91c1008
|
@ -103,6 +103,11 @@ class base_synchro(osv.osv_memory):
|
|||
if object.model_id.model=='crm.case.history':
|
||||
fields = ['email','description','log_id']
|
||||
value = pool_src.get(object.model_id.model).read(cr, uid, [id], fields)[0]
|
||||
if 'create_date' in value:
|
||||
del value['create_date']
|
||||
for key ,val in value.iteritems():
|
||||
if type(val)==tuple:
|
||||
value.update({key:val[0]})
|
||||
value = self.data_transform(cr, uid, pool_src, pool_dest, object.model_id.model, value, action, context=context)
|
||||
id2 = self.get_id(cr, uid, object.id, id, action, context)
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue