[FIX] when submitting the contact form, give the value 'False' to the 'salesperson' (user_id) field of the lead model
this makes more sense than assigning the lead to the anonymous user bzr revid: abo@openerp.com-20120531151531-jx3uldytnh01gopy
This commit is contained in:
parent
25d94450f9
commit
35c1c5fe3d
|
@ -24,7 +24,7 @@ class crm_contact_us(osv.TransientModel):
|
|||
Therefore, user #1 will perform the creation until a better workaround
|
||||
is figured out.
|
||||
"""
|
||||
crm_lead.create(cr, 1, dict(values,user_id=uid), context)
|
||||
crm_lead.create(cr, 1, dict(values,user_id=False), context)
|
||||
|
||||
""" Create an empty record in the portal_crm.crm_contact_us table """
|
||||
return super(crm_contact_us, self).create(cr, uid, {})
|
||||
|
|
Loading…
Reference in New Issue