[FIX] crm_opp_to_phonecall: I was quite too fast for last rev, phonecall has categ_id, not categ_ids.
bzr revid: tde@openerp.com-20120813195210-lj58w2hc1r0yxj1u
This commit is contained in:
parent
634a68a0ff
commit
3d3f17c465
|
@ -71,7 +71,7 @@ class crm_opportunity2phonecall(osv.osv_memory):
|
|||
call_ids = opportunity.schedule_phonecall(cr, uid, opportunity_ids, data.date, data.name, \
|
||||
data.note, data.phone, data.contact_name, data.user_id and data.user_id.id or False, \
|
||||
data.section_id and data.section_id.id or False, \
|
||||
data.categ_ids and data.categ_ids[0].id or False, \
|
||||
data.categ_id and data.categ_id.id or False, \
|
||||
action=data.action, context=context)
|
||||
return {'type': 'ir.actions.act_window_close'}
|
||||
|
||||
|
|
Loading…
Reference in New Issue