[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:
parent
89031f5de6
commit
5b1eee9a3a
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue