Skip to content
Snippets Groups Projects
Commit 5f8c7f4c authored by Joseph Caburnay's avatar Joseph Caburnay Committed by Pierre Masereel
Browse files

[FIX] point_of_sale: call the configureGui before calling start


The chrome.start() call also involves iot device loading
which is dependent on Gui to show error when there is any.
In this fix, we call configureGui when the Chrome instance is
available and before calling start.

closes odoo/odoo#75007

Signed-off-by: default avatarpimodoo <pimodoo@users.noreply.github.com>
parent 0194a806
Branches
Tags
No related merge requests found
......@@ -38,8 +38,8 @@ odoo.define('web.web_client', function (require) {
webClient.isStarted = true;
const chrome = new (Registries.Component.get(Chrome))(null, { webClient });
await chrome.mount(document.querySelector('.o_action_manager'));
await chrome.start();
configureGui({ component: chrome });
await chrome.start();
}
AbstractService.prototype.deployServices(env);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment