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

I have read this somewhere but I couldn't remember where, could anybody tell me how to server javascript & css on a uncompressed way so I can find more easy on what file errors are?

Thanks in advance!

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

I think it is compressed by the rjsmin You just need to comment this line and refresh.

content = rjsmin(content)

in /web/controllers/main.py:268

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

Useful because as openerp fornted is javascript base, a sintaxis error makes imposible to activate the developer mode as usual.

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

You need to activate the "Developer Mode"

Click on you name in the upper right corner, then on "About OpenERP". In the popup, click the link "Activate the developer mode".

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

Here maybe the point could be why developer mode is available for all users.

Regards,

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

OpenERP Web Branch.

Useful directories:

webbranch/addons/web/static/libs : This holds all javascript libs webbranch/addons/web/static/src/js/ : this holds all core javacript for webclient.

webbranch/addons/web/static/css : for webclient css files.

Also to debugging, you can use browser debug mode or firebug likes plugins.

Best to debug with browser's plugin.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 25
768
0
thg 7 25
44
1
thg 7 25
4822
0
thg 7 25
139
0
thg 7 25
333