Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
2452 Zobrazení

The following modules are needed by other modules but have not been defined, they may not be present in the correct asset bundle:

  • @web/legacy/js/core/minimal_dom

The following modules could not be loaded because they have unmet dependencies, this is a secondary error which is likely caused by one of the above problems:

  • @web/legacy/js/core/dialog
  • @web/legacy/js/core/dom

I'm getting this error when I try to open specific records in my local environment 

Avatar
Zrušit
Nejlepší odpověď

Hi, Odoo has updated Web app bay adding  "legacy/js/core/minimal_dom.js" and it refered in some other js files

So to solve the problem you need to add 

'assets': {
'web.assets_backend': [
# Odoo
.......
'web/static/src/legacy/js/core/minimal_dom.js',

in manifest file of your module

please rate if this solve your problem

Avatar
Zrušit

It works, thank you

Nejlepší odpověď

Hi,


This error indicates missing or incompatible JavaScript modules. To ensure correct module imports, please use the following paths:


import * as minimalDom from '@web/legacy/js/core/minimal_dom';

import Dialog from "@web/legacy/js/core/dialog";

import dom from "@web/legacy/js/core/dom";


Also, try to upgrade the module.


Hope it helps

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
kvě 25
2580
2
kvě 25
5960
1
bře 25
1719
4
bře 25
4572
3
úno 25
5578