콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
6789 화면

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
813
0
8월 25
418
0
7월 25
162
1
7월 25
4952
0
7월 25
264