[IMP] crm : Improved revison-5419 for schedule another phonecall from wizard

bzr revid: ron@tinyerp.com-20111102053058-80m1gdkrdyskzmj6
This commit is contained in:
ron@tinyerp.com 2011-11-02 11:00:58 +05:30
parent 948fd652d7
commit 9feccaa193
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ class crm_phonecall(crm_base, osv.osv):
vals = {
'name' : call_summary,
'user_id' : user_id or False,
'categ_id' : categ_id.id or False,
'categ_id' : categ_id or False,
'description' : call.description or False,
'date' : schedule_time,
'section_id' : section_id or False,

View File

@ -57,7 +57,7 @@ class crm_phonecall2phonecall(osv.osv_memory):
phocall_ids = phonecall.schedule_another_phonecall(cr, uid, phonecall_ids, this.date, this.name, \
this.user_id and this.user_id.id or False, \
this.section_id and this.section_id.id or False, \
this.categ_id and this.categ_id or False, \
this.categ_id and this.categ_id.id or False, \
action=this.action, context=context)
return phonecall.redirect_phonecall_view(cr, uid, phocall_ids[phonecall_ids[0]], context=context)