[FIX] project: Fixed default date value computed at server startup.

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

bzr revid: uco@tinyerp.com-20101102112909-z03so3ydx0fr1t9d
This commit is contained in:
uco (OpenERP)
2010-11-02 16:59:09 +05:30
parent f7f51a9497
commit 0f4d932dda
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -703,7 +703,7 @@ class project_work(osv.osv):
_defaults = {
'user_id': lambda obj, cr, uid, context: uid,
'date': time.strftime('%Y-%m-%d %H:%M:%S')
'date': lambda *a: time.strftime('%Y-%m-%d %H:%M:%S')
}
_order = "date desc"