diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2017-08-31 14:17:03 +0200 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2017-09-04 10:09:06 +0200 |
| commit | d22d4dcc23bad33abb06116bbc246c78a858ccaa (patch) | |
| tree | 1698f753b2e535807abf9237142668742b7e272f /odoo/tools/sql.py | |
| parent | 11ce4d228dca00df6646d38ba30794a49c53fb79 (diff) | |
[FIX] website_crm: fix lead creation through website_form
Before this commit, a message received through the contact us form did create a Lead, but any notification was impossible (even if a user was a follower of the relevant sales team.
This was because the default sales team is integrated in the values for create in models.py, which mail_thread can't see, but needs in order to notify
This commit corrects the behavior which now converge with standard lead creation by adding the default sales_team earlier in the values for create
OPW 762651
closes #19180
Diffstat (limited to 'odoo/tools/sql.py')
0 files changed, 0 insertions, 0 deletions
