[FIX] Use the current date and time in the historize

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

bzr revid: stephane@tinyerp.com-20090112104243-y4ta1qn7orbdaqfz
This commit is contained in:
Stephane Wirtel
2009-01-12 11:42:43 +01:00
parent c904a63a9b
commit 44b1dc21a8
+1 -1
View File
@@ -562,7 +562,7 @@ class crm_case(osv.osv):
'som': case.som.id,
'canal_id': case.canal_id.id,
'user_id': uid,
'date': case.date or time.strftime('%Y-%m-%d %H:%M:%S'),
'date': time.strftime('%Y-%m-%d %H:%M:%S'),
'case_id': case.id,
'section_id': case.section_id.id
}