Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5 ตอบกลับ
4101 มุมมอง

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) 
อวตาร
ละทิ้ง
ผู้เขียน

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

คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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 ()



อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi Eliot,

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

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 25
1028
Upgrade 17 to 18 on prem แก้ไขแล้ว
2
ม.ค. 25
2220
Upgrade Odoo v16 to v17 on windows แก้ไขแล้ว
2
ม.ค. 25
2680
0
มี.ค. 23
2919
0
ส.ค. 22
2476