Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
6710 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 25
754
0
ก.ค. 25
91
0
ก.ค. 25
253
2
ก.ค. 25
267
1
ก.ค. 25
384