Odoo Help

0

How to serve uncompressed css & javascript

By
agb80
on 3/4/13, 8:22 PM 1,661 views

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!

2
joshuajan
On 3/4/13, 11:18 PM

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.

agb80
on 3/6/13, 11:50 AM
1

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

0
test
On 3/5/13, 1:57 AM

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
Cristian Salamea
On 3/4/13, 9:52 PM

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

Regards,

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 3/4/13, 8:22 PM
Seen: 1661 times
Last updated: 3/16/15, 8:10 AM