diff --git a/base_import_async/static/src/js/import_model.esm.js b/base_import_async/static/src/js/import_model.esm.js index 05392b2a8..9c8907cdc 100644 --- a/base_import_async/static/src/js/import_model.esm.js +++ b/base_import_async/static/src/js/import_model.esm.js @@ -2,6 +2,8 @@ import {BaseImportModel} from "@base_import/import_model"; import {_t} from "@web/core/l10n/translation"; import {patch} from "@web/core/utils/patch"; +const {document} = globalThis; + patch(BaseImportModel.prototype, { get importOptions() { const options = super.importOptions;