[REF] *: replace odoo module by native one

This commit converts almost all odoo module by native module.
The goal is to deprecate 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/odoo#117305

Related: odoo/enterprise#39118
Signed-off-by: Géry Debongnie <ged@odoo.com>
This commit is contained in:
Michael (mcm)
2023-04-03 17:07:24 +02:00
parent c5dd03ffee
commit ff0d6dd580
319 changed files with 1667 additions and 2379 deletions
@@ -1,7 +1,6 @@
odoo.define('barcodes/static/tests/barcode_parser_tests.js', function (require) {
"use strict";
/** @odoo-module **/
const BarcodeParser = require('barcodes.BarcodeParser');
import BarcodeParser from "barcodes.BarcodeParser";
QUnit.module('Barcodes', {}, function () {
@@ -55,4 +54,3 @@ QUnit.module('Barcode Parser', {
});
});
});
});