summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJulien (juc) Castiaux <juc@odoo.com>2018-11-15 15:23:05 +0000
committerJulien (juc) Castiaux <juc@odoo.com>2018-11-19 15:57:52 +0000
commitc9229aa9493fe7be9565b65ad0c97d209c1bd856 (patch)
tree5ad2621b8d043daf43832405664da25f06a96e7e /addons/web/static/src/js/views/basic/basic_controller.js
parent84bf9f3145ee2fcec913f0a32d6bbba37f2e6937 (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 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions