[FIX] web_tour: no step
- Create a tour with only one step for Community `edition: 'community'` - Install a database in Enterprise `tip.in_modal` in `_check_for_tooltip` cashes since `tip` is undefined. opw-1998603 closes odoo/odoo#33430 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
@@ -193,6 +193,9 @@ return core.Class.extend(mixins.EventDispatcherMixin, ServicesMixin, {
|
||||
* @returns {boolean} true if a tip was found and activated/updated
|
||||
*/
|
||||
_check_for_tooltip: function (tip, tour_name) {
|
||||
if (tip === undefined) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if ($('body').hasClass('o_ui_blocked')) {
|
||||
this._deactivate_tip(tip);
|
||||
|
||||
Reference in New Issue
Block a user