mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] make base odoo JS tests working with web_responsive module
This commit is contained in:
19
web_responsive/static/tests/test_patch.js
Normal file
19
web_responsive/static/tests/test_patch.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/* Copyright 2021 ITerra - Sergey Shebanin
|
||||
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */
|
||||
odoo.define("web_responsive.test_patch", function (require) {
|
||||
"use strict";
|
||||
|
||||
const utils = require("web_tour.TourStepUtils");
|
||||
|
||||
/* Make base odoo JS tests working */
|
||||
utils.include({
|
||||
showAppsMenuItem() {
|
||||
return {
|
||||
edition: "community",
|
||||
trigger: ".o_navbar_apps_menu",
|
||||
auto: true,
|
||||
position: "bottom",
|
||||
};
|
||||
},
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user