[FIX] crm : pass section, description when schedule in meeting

bzr revid: hmo@tinyerp.com-20100120135130-a0g1ofbi9udn89iu
This commit is contained in:
Harry (Open ERP)
2010-01-20 19:21:30 +05:30
parent 3084aa8c1d
commit 3ff7980647
2 changed files with 5 additions and 2 deletions
@@ -139,7 +139,9 @@ class opportunity2meeting(wizard.interface):
new_meeting_id = meeting_case_obj.create(cr, uid, {
'name': opportunity.name,
'date': opportunity.date,
'section_id' : opportunity.section_id and opportunity.section_id.id or False,
'date_deadline': opportunity.date_deadline,
'description':opportunity.description,
})
new_meeting = meeting_case_obj.browse(cr, uid, new_meeting_id)
vals = {}
+3 -2
View File
@@ -102,8 +102,7 @@ class phonecall2opportunity(wizard.interface):
'name': data['form']['name'],
'planned_revenue': data['form']['planned_revenue'],
'probability': data['form']['probability'],
'partner_id': data['form']['partner_id'],
'phonecall_id':phonecall.id,
'partner_id': data['form']['partner_id'],
'section_id':phonecall.section_id.id,
'description':phonecall.description,
})
@@ -200,7 +199,9 @@ class phonecall2meeting(wizard.interface):
new_meeting_id = meeting_case_obj.create(cr, uid, {
'name': phonecall.name,
'date': phonecall.date,
'section_id' : phonecall.section_id and phonecall.section_id.id or False,
'duration': phonecall.duration,
'description':phonecall.description,
})
new_meeting = meeting_case_obj.browse(cr, uid, new_meeting_id)
vals = {}