Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4 Відповіді
6682 Переглядів

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
723
2
лип. 25
198
1
лип. 25
217
1
лип. 25
266
0
черв. 25
189