跳至内容
菜单
此问题已终结
4 回复
6910 查看

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!

形象
丢弃
最佳答案

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

形象
丢弃
编写者

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

最佳答案

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".

形象
丢弃
最佳答案

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

Regards,

形象
丢弃
最佳答案

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.

形象
丢弃
相关帖文 回复 查看 活动
0
4月 25
984
0
8月 25
910
0
7月 25
402
1
7月 25
5282
0
7月 25
605