Why OpenERP v6.1 web client isn’t shipped with minified javascripts is probably the first question I asked myself when I first dig the source codes. But thanks to the modular architecture of OpenERP, we can do that quite easily to add a little boost to the web client without patching a single line.
- Install Java if it is not already installed
- Install minify
- $ pip install minify
- Run the following script
- Rename lib
- $ mv openerp/addons/web/static/lib openerp/addons/web/static/lib.ori
- Create symlink lib to lib.min
- $ ln -sf openerp/addons/web/static/lib.min openerp/addons/web/static/lib
- Reload server

