[FIX] calendar: set resposible user by default with current login user
bzr revid: hmo@tinyerp.com-20100709090036-xfapyojgahkkhkwn
This commit is contained in:
parent
89a315717d
commit
1f673db082
|
@ -378,6 +378,7 @@ property or property parameter."),
|
|||
}
|
||||
_defaults = {
|
||||
'state': 'needs-action',
|
||||
'user_id': lambda self, cr, uid, ctx: uid,
|
||||
}
|
||||
|
||||
def copy(self, cr, uid, id, default=None, context=None):
|
||||
|
|
|
@ -80,7 +80,8 @@ class crm_meeting(osv.osv, crm_case):
|
|||
|
||||
_defaults = {
|
||||
'state': lambda *a: 'draft',
|
||||
'active': lambda *a: 1,
|
||||
'active': lambda *a: 1,
|
||||
'user_id': lambda self, cr, uid, ctx: uid,
|
||||
}
|
||||
|
||||
def open_meeting(self, cr, uid, ids, context=None):
|
||||
|
|
Loading…
Reference in New Issue