Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
700 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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



Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ

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

Tác giả

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?

Tác giả

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

Câu trả lời hay nhất

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..


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 25
349
2
thg 10 25
311
0
thg 10 25
1099
1
thg 9 25
754
2
thg 9 25
798