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

Hi,

       I am facing issue in website, i was created registration template through odoo website, so i add my own custom css file, problem is style is applying when user logged in, If the user clicks the url without login into odoo, the style property is not applying......


I followed the following blog

http://www.odoo.yenthevg.com


Pls help, I tried my best but i can't find solution....



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

Thanks Danimar Ribeiro,


Alredy i did the same, my addons path structure is like

/opt/smartcampus/odoo/openerp-server --addons-path=/opt/smartcampus/odoo/addons --db-filter=College_Demo --xmlrpc-port=1504


but still i am facing the same issue.....

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

The custom css is only applied when the database is selected.

To resolve the issue you have to set a default database in the parameter "db_filter", 

after this when you go to your url the odoo automatically selects that database and loads the installed module with your custom css. Without this it doesn't know which database to load the modules, so your moduleis not loaded.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 25
1967
2
thg 6 25
508
0
thg 2 25
1086
3
thg 10 24
1621
0
thg 6 24
1243