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

Hello all!

My Odoo community v14 on Ubuntu 20.04 got a client error as below:

 I don"t know what's wrong, it  was  working  perfectly  yesterday!  

Please  help.

**************** 

Erreur:

Uncaught TypeError: Cannot read property 'getBoundingClientRect' of undefined



http://ubuntu:8069/web/content/929-81684fc/\web\.assets_common\.js\:4741\\
\
Retra\çage\ \:\
\
TypeError\:\ Cannot\ read\ property\ \'getBoundingClientRect\'\ of\ undefined\
\
\ \ \ \ at\ computeFloatOuterWidthWithMargins\ \(http\:\/\/ubuntu\:8069\/web\/content\/929\-81684fc\/\\web\.assets_common\.js\:4741\:93\)\\
\
\ \ \ \ at\ Class\._adapt\ \(http\:\/\/ubuntu\:8069\/web\/content\/929\-81684fc\/\web.assets_common.js:4740:477)

at later (http://ubuntu:8069/web/content/929-81684fc/

****************************

I did try to install 'libsass==0.12.3' and restarted odoo service but unsuccessful. Please help!!!

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

Try to clear browser cache, localStorage and sessionStorage or using incognito.

libsass==0.17.0 is required for Odoo 14.0 as per the below:
https://github.com/odoo/odoo/blob/14.0/requirements.txt#L21

Ảnh đại diện
Huỷ bỏ
Tác giả

Yes I have installed libsass==0.17.0 but still have same error!

Try to clear browser cache, localStorage and sessionStorage or using incognito.

If still you got the same error, check the log file for more details

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

I also have the same problem. When I connect to Odoo\.sh development\ and\ run\ test\ tour\ I\ found\ out\ that\ Odoo\ test\ tour\ require\ my\ module\ to\ have\ "website_sale"\ depend\.\ After\ I\ install\ ecommerce\ my\ module\ success\ pass\ Odoo.sh test. 

Hope this help.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
5
thg 11 22
3791
0
thg 3 22
2940
0
thg 2 22
2326
0
thg 12 21
1849
0
thg 11 21
1644