Skip to Content
Menu
This question has been flagged
2 Replies
654 Views

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)

Avatar
Discard
Author Best Answer

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

Avatar
Discard
Best Answer

Also working for Installations without docker! Thank you!

Avatar
Discard
Related Posts Replies Views Activity
0
Apr 25
2
0
Mar 25
397
1
Mar 25
696
0
Feb 25
545
0
Feb 25
732