mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -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]),
|
||||
]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user