From c5d10cfe8d822f797910b8390ba1f7260e9bc953 Mon Sep 17 00:00:00 2001 From: "tfr@openerp.com" <> Date: Wed, 29 Jun 2011 13:15:00 +0200 Subject: [PATCH] [clean] remove print statement bzr revid: tfr@openerp.com-20110629111500-v1u6uncjsblx7rkd --- addons/crm/crm_phonecall.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/addons/crm/crm_phonecall.py b/addons/crm/crm_phonecall.py index dce8a93..ecae065 100644 --- a/addons/crm/crm_phonecall.py +++ b/addons/crm/crm_phonecall.py @@ -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, } -- 1.7.10.4