Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4 Antwoorden
6553 Weergaven

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!

Avatar
Annuleer
Beste antwoord

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

Avatar
Annuleer
Auteur

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

Beste antwoord

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

Avatar
Annuleer
Beste antwoord

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

Regards,

Avatar
Annuleer
Beste antwoord

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.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
apr. 25
623
1
jun. 25
427
1
jun. 25
363
1
mei 25
661
1
mei 25
959