summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorRobot Odoo <xmo+roboto@odoo.com>2019-07-01 14:26:35 +0200
committerGitHub <noreply@github.com>2019-07-01 14:26:35 +0200
commit44372471efa4bdab0e1582f6751bb15ea73621d7 (patch)
treebd62146984b1e26ae085f726ba0b94d5d2513255 /addons/web/static/src/js/views/basic/basic_controller.js
parent47bbb504a89c4133cf16d3f9aff28e2c5823c771 (diff)
parent9d5131a696c6e168fe4a802442c868b5dd6eb4ce (diff)
[FIX] website_sale: avoid adding website on customer when not needed
Before this commit, when an address would be edited or created from checkout, we would always add a website_id on it. (values_postprocess -> _checkout_form_save) That would be incorrect if the website has not 'specific user account' enabled. It would lead to an error as the user would not be able to connect to another website. Indeed, the billing address is stored on the partner directly. Since the res.user website_id is a related to the partner one, the user would then be restricted to that website. Fixes https://github.com/odoo/odoo/issues/34308 closes odoo/odoo#34396 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions