[clean] remove print statement
bzr revid: tfr@openerp.com-20110629111500-v1u6uncjsblx7rkd
This commit is contained in:
parent
52fd99498c
commit
c5d10cfe8d
|
@ -86,16 +86,12 @@ class crm_phonecall(crm_base, osv.osv):
|
|||
if context and context.get('default_state', False):
|
||||
return context.get('default_state')
|
||||
return 'open'
|
||||
|
||||
def get_user_id(self, cr, uid, ctx):
|
||||
print "default user"
|
||||
return uid
|
||||
|
||||
_defaults = {
|
||||
'date': lambda *a: time.strftime('%Y-%m-%d %H:%M:%S'),
|
||||
'priority': crm.AVAILABLE_PRIORITIES[2][0],
|
||||
'state': _get_default_state,
|
||||
'user_id': get_user_id,
|
||||
'user_id': lambda self,cr,uid,ctx: uid,
|
||||
'active': 1,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue