Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
1696 Vizualizări

I have just become a victim to the dreaded UncaughtPromiseError on odoo 18. This occurs in the invoicing app when going to the supplier invoices. I receive my PEPPOL invoices here, so it is important for me that this works. 

All I can think of is an update I performed on my docker containers.

I tried going back to a backup, but that did not solve anything, neither did reinstalling odoo or trying another browser. I also tried recreating assets ... 

Anyone any other ideas ?

(links removed and replaced by x.y.z)


UncaughtPromiseError > OwlError

Uncaught Promise > An error occured in the owl lifecycle (see this Error's "cause" property)


UncaughtPromiseError > OwlError

Uncaught Promise > An error occured in the owl lifecycle (see this Error's "cause" property)


Occured on x.y.z on 2025-03-15 14:42:46 GMT


OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)

    Error: An error occured in the owl lifecycle (see this Error's "cause" property)

        at handleError (x.y.z/web/assets/4425511/web.assets_web.min.js:961:101)

        at App.handleError (x.y.z/web/assets/4425511/web.assets_web.min.js:1608:29)

        at Fiber._render (x.y.z/web/assets/4425511/web.assets_web.min.js:986:19)

        at Fiber.render (x.y.z/web/assets/4425511/web.assets_web.min.js:984:6)

        at ComponentNode.initiateRender (x.y.z/web/assets/4425511/web.assets_web.min.js:1054:47)


Caused by: TypeError: Cannot read properties of undefined (reading 'count')

    at AccountMoveListRenderer.getCellClass (x.y.z/web/assets/4425511/web.assets_web.min.js:19453:775)

    at AccountMoveListRenderer.template (eval at compile (x.y.z/web/assets/4425511/web.assets_web.min.js:1563:421), <anonymous>:66:33)

    at App.callTemplate (x.y.z/web/assets/4425511/web.assets_web.min.js:1210:129)

    at AccountMoveListRenderer.template (eval at compile (x.y.z/web/assets/4425511/web.assets_web.min.js:1563:421), <anonymous>:32:32)

    at App.callTemplate (x.y.z/web/assets/4425511/web.assets_web.min.js:1210:129)

    at AccountMoveListRenderer.template (eval at compile (x.y.z/web/assets/4425511/web.assets_web.min.js:1563:421), <anonymous>:217:11)

    at node.renderFn (x.y.z/web/assets/4425511/web.assets_web.min.js:1103:210)

    at Fiber._render (x.y.z/web/assets/4425511/web.assets_web.min.js:985:96)

    at Fiber.render (x.y.z/web/assets/4425511/web.assets_web.min.js:984:6)

    at ComponentNode.initiateRender (x.y.z/web/assets/4425511/web.assets_web.min.js:1054:47)

Imagine profil
Abandonează
Autor Cel mai bun răspuns

UPDATE !

Updating the docker container was apparently not enough, but required to update the database as well. 

Open your container console

docker exec -it odoo bash

Update your module using other port

/usr/bin/odoo -p 8070 -d mydb -u mymodule

If the database it's on another container

/usr/bin/odoo -p 8070 --db_host=172.17.0.2 --db_user=odoo --db_password=odoo -d mydb -u all

That did the trick for me ! 

Now I just need to figure out how to reconnect to PEPPOL

Imagine profil
Abandonează
Cel mai bun răspuns

Also working for Installations without docker! Thank you!

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
aug. 25
860
0
iul. 25
579
1
iul. 25
788
0
iun. 25
697
1
mai 25
1343