Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
5 Vastaukset
4044 Näkymät

Hi 

I just got back my test neutralized database and re-imported, then restarted odoo18.

I can login but cannot see Applications, I see the following screen:

With these errors in Developer Tools -> Console: 

web.assets_web.min.js:39  Uncaught Error: Error while loading "web.assets_web.bundle.xml":
Error: Template html_editor.EmbeddedFileBlueprint already exists
    at ModuleLoader.startModule (web.assets_web.min.js:39:227)
    at ModuleLoader.startModules (web.assets_web.min.js:38:57)
    at ModuleLoader.addJob (web.assets_web.min.js:5:39)
    at ModuleLoader.define (web.assets_web.min.js:10:121)
    at web.assets_web.min.js:25289:26

The following modules failed to load because of an error: ['web.assets_web.bundle.xml']

The following modules are needed by other modules but have not been defined, they may not be present in the correct asset bundle: ['@bus/components/bus_connection_alert']

OwlError: Missing template: "web_enterprise.EnterpriseNavBar" (for component "EnterpriseNavBar")
    Error: Missing template: "web_enterprise.EnterpriseNavBar" (for component "EnterpriseNavBar")
        at App.getTemplate (web.assets_web.min.js:1204:7)
        at new ComponentNode (web.assets_web.min.js:1047:133)
        at web.assets_web.min.js:1608:6
        at WebClientEnterprise.template (eval at compile (web.assets_web.min.js:1562:421), <anonymous>:12:12)
        at MountFiber._render (web.assets_web.min.js:983:96)
        at MountFiber.render (web.assets_web.min.js:982:6)
        at ComponentNode.initiateRender (web.assets_web.min.js:1052:47) 
Avatar
Hylkää
Tekijä

Hi Niyas

odoo18 community and enterprise updated to latest.

I have some custom modules but they are not installed in my custom-addons directory on test. Maybe this is my issue?

re updating base module, I've tried running:

/opt/odoo18dev/odoo18dev-venv/bin/python3.12 /opt/odoo18dev/odoo18/odoo-bin -c /etc/odoo18dev.conf --xmlrpc-port 9069 -d dev-odoo18 -u base

and

/opt/odoo18dev/odoo18dev-venv/bin/python3.12 /opt/odoo18dev/odoo18/odoo-bin -c /etc/odoo18dev.conf --xmlrpc-port 9069 -d dev-odoo18 -u web_enterprise

But both the commands dont seems to finish, or provide any error message.

Thanks

Eliot

Paras vastaus

Slightly off topic but it's an example that works with v18.
Maybe it will help:

[I don't have the karma to post the link to stackoverflow, so go there and search:
Odoo Loading Javascript v18
The answer has 79726344#79726344 in its URL, and a link to a GitHub repository

Avatar
Hylkää
Paras vastaus

i am having the same issues here, what should i do please

web.assets_frontend_minimal.min.js:48 Uncaught Error: Error while loading "payment_remita.remita_widget": TypeError: Cannot read properties of undefined (reading 'registry') at ModuleLoader.startModule (web.assets_frontend_…nimal.min.js:48:227) at ModuleLoader.startModules (web.assets_frontend_minimal.min.js:47:57) at ModuleLoader.addJob (web.assets_frontend_minimal.min.js:12:39) at ModuleLoader.define (web.assets_frontend_…nimal.min.js:17:121) at web.assets_frontend_lazy.min.js:12375:6

The following modules failed to load because of an error:

  1. ['payment_remita.remita_widget']

OwlError: Missing template: "web.PagerIndicator" (for component "PagerIndicator") Error: Missing template: "web.PagerIndicator" (for component "PagerIndicator") at App.getTemplate () at new ComponentNode () at at MainComponentsContainer.slot1 (eval at compile (), <anonymous>:13:27) at callSlot () at ErrorHandler.template (eval at compile (), <anonymous>:8:12) at Fiber._render () at Fiber.render () at ComponentNode.initiateRender ()

OwlError: Missing template: "web.OverlayContainer" (for component "OverlayContainer") Error: Missing template: "web.OverlayContainer" (for component "OverlayContainer") at App.getTemplate () at new ComponentNode () at at MainComponentsContainer.slot1 (eval at compile (), <anonymous>:13:27) at callSlot () at ErrorHandler.template (eval at compile (), <anonymous>:8:12) at Fiber._render () at Fiber.render () at ComponentNode.initiateRender ()

OwlError: Missing template: "html_editor.UploadProgressToast" (for component "UploadProgressToast") Error: Missing template: "html_editor.UploadProgressToast" (for component "UploadProgressToast") at App.getTemplate () at new ComponentNode () at at MainComponentsContainer.slot1 (eval at compile (), <anonymous>:13:27) at callSlot () at ErrorHandler.template (eval at compile (), <anonymous>:8:12) at Fiber._render () at Fiber.render () at ComponentNode.initiateRender ()

OwlError: Missing template: "discuss.CallInvitations" (for component "CallInvitations") Error: Missing template: "discuss.CallInvitations" (for component "CallInvitations") at App.getTemplate () at new ComponentNode () at at MainComponentsContainer.slot1 (eval at compile (), <anonymous>:13:27) at callSlot () at ErrorHandler.template (eval at compile (), <anonymous>:8:12) at Fiber._render () at Fiber.render () at ComponentNode.initiateRender ()

[Owl] Unhandled error. Destroying the root component

2

OwlError: Missing template: "mail.ChatHub" (for component "ChatHub") Error: Missing template: "mail.ChatHub" (for component "ChatHub") at App.getTemplate () at new ComponentNode () at at LivechatRoot.template (eval at compile (), <anonymous>:10:16) at MountFiber._render () at MountFiber.render () at ComponentNode.initiateRender ()



Avatar
Hylkää
Paras vastaus

Hi Eliot,

I also faced this error. I deinstalled the knowledge app and it vanished.

Avatar
Hylkää
Tekijä Paras vastaus

The issue was the order of addons in the /etc/odoo.conf file.

For odoo 17 it didnt seem to matter the order. 

addons_path =
/opt/odoo17dev/enterprise-17/odoo/addons,/opt/odoo17dev/odoo17/addons,/opt/odoo17dev/odoo17/custom-addons

However in odoo18 I had to put the community addons before the enterprise addons.

addons_path =
/opt/odoo18dev/odoo18/addons,/opt/odoo18dev/enterprise-18/odoo/addons,/opt/odoo18dev/odoo18/custom-addons
Avatar
Hylkää
Paras vastaus

Hi,
Can you ensure the below points:

* Ensure you are restoring the migrated db to an odoo 18 instance ( community and enterprise source code of odoo 18)
* Custom modules are migrated to 18.0
* upgrade base module from command line

Thanks

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
huhtik. 25
1023
2
tammik. 25
2199
2
tammik. 25
2660
0
maalisk. 23
2916
0
elok. 22
2455