[FIX] web: fix click_all in enterprise

During the fix of the click_all test in community in 0f2a500f0e,
I have overlooked that enterprise used this code and removed a bit too much.

Restore the start flag in enterprise.

closes odoo/odoo#41784

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
Vincent Schippefilt
2019-12-12 11:47:03 +00:00
parent 9503f463e3
commit 5ced595b58
@@ -153,6 +153,7 @@ var AbstractWebClient = Widget.extend(ServiceProviderMixin, KeyboardNavigationMi
}).then(function () {
// Listen to 'scroll' event and propagate it on main bus
self.action_manager.$el.on('scroll', core.bus.trigger.bind(core.bus, 'scroll'));
odoo.isReady = true;
core.bus.trigger('web_client_ready');
if (session.uid === 1) {
self.$el.addClass('o_is_superuser');