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

I have a web module that is an extension of the point of sale, I have created my own module and I have properly set the 

'css' : ['static/src/css/my_css.css']

but I don't know why but this css is not being loaded I tried reinstalling the module but with no luck If you have any ideas I would be really grateful 

Thanks in advance

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

Forgot to mention I'm using openerp v8

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

Hello. Please refer this link:

https://www.odoo.com/forum/help-1/question/how-css-and-js-inheritance-works-on-odoo-v8-55278

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

It should work if you are using v7.0.

Maybe you CSS file doesn't exist in that path, or the file permissions are not enough. run

sudo chmod 755 /YOUR_MODULE_PATH/static/src/css/my_css.css

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
12
thg 8 20
24342
1
thg 4 23
4964
1
thg 7 24
1935
1
thg 7 24
1952
4
thg 1 24
23123