diff --git a/addons/crm/wizard/crm_lead_to_opportunity.py b/addons/crm/wizard/crm_lead_to_opportunity.py index acb259718f1..b8bc3172019 100644 --- a/addons/crm/wizard/crm_lead_to_opportunity.py +++ b/addons/crm/wizard/crm_lead_to_opportunity.py @@ -79,6 +79,7 @@ class crm_lead2opportunity(osv.osv_memory): 'probability': this.probability, 'name': this.name, 'partner_id': this.partner_id.id, + 'user_id': this.partner_id.user_id.id or lead.user_id.id, 'type': 'opportunity' } lead_obj.write(cr, uid, lead.id, vals, context=context)