[IMP] crm: add default date

bzr revid: christophe@tinyerp.com-20090311133451-46a08rdfdoqzfnjl
This commit is contained in:
Christophe Simonis
2009-03-11 14:34:51 +01:00
parent 11b72020ee
commit 284eb99796
+1
View File
@@ -388,6 +388,7 @@ class crm_case(osv.osv):
'email_from': _get_default_email,
'state': lambda *a: 'open',
'priority': lambda *a: AVAILABLE_PRIORITIES[2][0],
'date': lambda *a: time.strftime('%Y-%m-%d %H:%M:%S'),
}
_order = 'priority, date_deadline desc, date desc,id desc'