diff options
| author | Julien (juc) Castiaux <juc@odoo.com> | 2018-11-15 15:23:05 +0000 |
|---|---|---|
| committer | Julien (juc) Castiaux <juc@odoo.com> | 2018-11-19 15:57:52 +0000 |
| commit | c9229aa9493fe7be9565b65ad0c97d209c1bd856 (patch) | |
| tree | 5ad2621b8d043daf43832405664da25f06a96e7e /doc/python3.rst | |
| parent | 84bf9f3145ee2fcec913f0a32d6bbba37f2e6937 (diff) | |
[FIX] website_crm: contact us form create leads in wrong company
In a mutli-company account with multiple websites for the
differents companies, the 'contact us' form creates leads in the
company of the admin instead of the one linked to the website.
This PR corrects that behavior by setting a 'company_id' field
to the company_id of the user in case that field is missing on
models that require it.
opw-1907375
closes odoo/odoo#28749
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
