[IMP] crm: add default date
bzr revid: christophe@tinyerp.com-20090311133451-46a08rdfdoqzfnjl
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user