summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/select_create_controllers_registry.js
diff options
context:
space:
mode:
authorDjamel (otd) <otd@odoo.com>2021-05-28 08:24:47 +0000
committerDjamel (otd) <otd@odoo.com>2021-05-28 10:59:17 +0000
commitd9b794480a5ab7f7d6a1e0d92601eb737175e212 (patch)
tree77878d0cdd36a11ece8a24fee7a52789ab565e56 /addons/web/static/src/js/views/select_create_controllers_registry.js
parent846c63b6e5414d2b4620f389817379506a419573 (diff)
[FIX] web: add the context in the parameters of the rpc in the _renderBanner
Steps to reproduce the bug: - Install Accounting - Connect with a user who has a default company (e.g: Company A) and allowed companies (e.g: “Company A” and “Company B”) - Choose in the company selector “Company B” - Make sure that the onboarding panel in the default company has not been closed - Go to accounting and close the onboarding panel - Refresh the page Problem: The onboarding panel is still open because in the `account/account_dashboard_onboarding` method we check the`account_dashboard_onboarding_state` field of the default company instead of the current company because "allowed_company_ids" is not in the context This problem is also present in all the other views where an onboarding panel is present Solution: Add the context in the parameters of the rpc in the _renderBanner opw-2477148 closes odoo/odoo#71384 X-original-commit: 902950541f8c361e03821314aab4bf4f304ac37d Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com> Signed-off-by: Djamel Touati <DjamelTouati@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/select_create_controllers_registry.js')
0 files changed, 0 insertions, 0 deletions