[FIX] crm_lead: don't rewrite user_id. Value has not been updated so it's useless. Some module check that user_id is in vals to trigger others actions for nothing.

This commit is contained in:
Jeremy Kersten 2014-10-15 14:18:37 +02:00
parent 89031f5de6
commit 5b1eee9a3a
1 changed files with 0 additions and 1 deletions

View File

@ -702,7 +702,6 @@ class crm_lead(format_address, osv.osv):
'probability': lead.probability,
'name': lead.name,
'partner_id': customer and customer.id or False,
'user_id': (lead.user_id and lead.user_id.id),
'type': 'opportunity',
'date_action': fields.datetime.now(),
'date_open': fields.datetime.now(),