[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:
@@ -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', {
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user