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

I tried to extend web_editor (in order to add custom font-size) last week but because i couldn't success, I undo everything and i continued to work on something else. There was no error but I now, when stop the docker and rerun again, i got this error below. If there is any idea how to solve it, I would appreciate that.  


Error:

Traceback:
Error: Couldn't load css dependency: http://localhost:8069/web/content/8064-9b35e9b/1/web_editor.assets_summernote.css
at HTMLLinkElement. (http://localhost:8069/web/static/src/js/core/ajax.js:168:28)
at HTMLLinkElement.dispatch (http://localhost:8069/web/static/lib/jquery/jquery.js:5183:27)
at HTMLLinkElement.elemData.handle (http://localhost:8069/web/static/lib/jquery/jquery.js:4991:28)
Ảnh đại diện
Huỷ bỏ

Did you solve this issue?

Tác giả

@mostafa, unfortunately i could not find any solution for this. i created a new database and activate my theme again.

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

Hi, we had a similar error: odoo could not find assets for both js and css files, and our solution was to follow the steps in this forum topic to delete the records from ir_attachment (if you can't find it through the store_fname you can try through the name)

\https://www.odoo.com/it_IT/forum/help-1/updated-how-do-i-prevent-website-common-asset-files-from-constantly-not-being-found-ioerror-errno-2-no-such-file-or-directory-92982

and then we launched our instance with -u all. Apparently, the CSS files assets are recompiled only when you update odoo's base module.


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

It did not work for me

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

May you try to instal the below packages once,

sudo apt-get install nodejs npm -y

sudo npm install -g rtlcss 


then restart Odoo

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 21
3182
1
thg 7 25
2391
2
thg 7 25
7886
2
thg 7 25
4292
2
thg 7 25
4030