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

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

Traceback:
TypeError: Cannot read property 'getBoundingClientRect' of undefined
    at computeFloatOuterWidthWithMargins (https://odoo.***.com/web/content/976-e2db890/web.assets_common.js:3923:73)
    at _adapt (https://odoo.***.com/web/content/976-e2db890/web.assets_common.js:3922:461)
    at Object.initAutoMoreMenu (https://odoo.***.com/web/content/976-e2db890/web.assets_common.js:3916:533)
    at https://odoo.***.com/web/content/977-3551c5d/web.assets_backend.js:784:242
    at async Promise.all (index 2)
    at async Promise.all (index 0)


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

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

I got the same error in my odoo 14 community, How did you solve it?

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

Hi

While getting this error try to install the "libsass" package required by your odoo version, to identify your required libsass version, go to the "requirement.txt" file inside your odoo folder and search for the package and install it through the terminal.If this doesn't solve your issue, go to your odoo folder directory through the terminal using the command: cd your_foldernameand enter the command: sudo pip3 install -r requirements.txt after this try creating a new database.

Hope it helps

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