Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
297 Vistas

Hi there, would appreciate if I can get any help on how to fix this issue, I get this error whenever I want to add a product in a Sales Order. I am on Odoo 17 CE (Self Hosted).


UncaughtPromiseError > OwlError

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

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

    OwlError@

    handleError@https://VPS/web/assets/1/5df17f5/web.assets_web.min.js:938:113

    _render@https://VPS/web/assets/1/5df17f5/web.assets_web.min.js:963:30

    render@https://VPS/web/assets/1/5df17f5/web.assets_web.min.js:961:13

    @https://VPS/web/assets/1/5df17f5/web.assets_web.min.js:1031:53


Caused by: TypeError: undefined is not an object (evaluating '(Comp1).name')

    template@

    template@[native code]

    _render@https://VPS/web/assets/1/5df17f5/web.assets_web.min.js:962:104

    render@https://VPS/web/assets/1/5df17f5/web.assets_web.min.js:961:13

    @https://VPS/web/assets/1/5df17f5/web.assets_web.min.js:1031:53

Avatar
Descartar
Mejor respuesta

Hi,

This error in Odoo 17 happens because the frontend (Owl JS) tries to access a product name that doesn’t exist or a custom module has broken the sales order view. Most often, it’s caused by a product with a missing name or a bad template in a custom module. To fix it, check that all products have names, disable any custom modules affecting sales or products, clear Odoo and browser cache, and update all modules. Usually, fixing missing product names or removing the problematic module will solve the issue.


Hope it helps



Avatar
Descartar
Autor Mejor respuesta

Hi Lakhan Vachhani

I don't have any custom code, I just have the default Odoo installation and OCA modules, I would suspect OCA modules but im not sure which one.

I have tried to fix it but im not sure how.

Avatar
Descartar

Trying to update sales app and base(only if required)

Autor

Hi Lakhan, thanks for your reply, it actually worked, and I also found the module that was causing this issue, now its working perfectly... I do have 1 more question, when I activate the website, the login page is not the same as before, and the subdomain homepage used to be the login page, now its the websi

Hi Le Beirut,
Can you please clarify more about website issue?

Autor

Hi Lakhan,
I have activated the website app, but now the login page is a bit different, when I used to enter my odoo subdomain (URL), it used to automatically take me to /web/login but now it shows the website homepage, I even tried changing the homepage URL but that just redirected me to /shop.

Hello Le Beirut,
When the Website app is installed, Odoo changes route to(/shop) eCommerce homepage (if Website + eCommerce installed.
If you have still facing issue we can connect on zoom or teams.
Thanks

Mejor respuesta

Hello Le Beirut

Is it odoo default error or from your custom code?

It is due to component trying to access name property buy it can't find that..


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
sept 25
525
2
sept 25
624
3
sept 25
645
3
ago 25
675
4
ago 25
1832