[REF] *: convert odoo module by native one

This commit converts all odoo module of this repo by native module.
The goal is to depreciate odoo.define in favor of native module
and then simplify boot.js by removing the regexp that finds
module dependencies.

task id: 3162300

closes odoo/design-themes#652

Signed-off-by: Géry Debongnie <ged@odoo.com>
This commit is contained in:
Michael (mcm)
2023-04-27 07:50:35 +00:00
parent 9cca23373e
commit 7ab07c6ec1
10 changed files with 230 additions and 251 deletions
+2 -4
View File
@@ -1,7 +1,6 @@
odoo.define("theme_real_estate.tour.real_estate", function (require) {
"use strict";
/** @odoo-module **/
const wTourUtils = require("website.tour_utils");
import wTourUtils from "website.tour_utils";
const snippets = [
{
@@ -65,4 +64,3 @@ wTourUtils.registerThemeHomepageTour("real_estate_tour", [
wTourUtils.dragNDrop(snippets[8]),
wTourUtils.dragNDrop(snippets[9]),
]);
});