Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi, After looking around for a solution of the to small form sheet I figured out the base.sass file defining the sheet-max-width for the forms in the webUI. There are some places describe how the change the CSS files to achieve a wider form sheet. however since the base.sass file already declares a variable for $sheet-max-width I changed this variable. Anybody knows how to recompile the CSS files from the SASS file? The Makefile included in the directory makes clear the sass command needs to be called. The question is, is this save (enough) to call make on a "production" system or is this mentioned as a build step while packaging? Further is it easy to write a very simple module overwriting this settings or export this settings to a configuration screen?
[This tutorial works with Debian systems]
In order to be able to convert SASS file to CSS you will need to install sass package from RubyGems. First you need to install rubygems using the following command:
apt-get install rubygems
After that you will need to fix your path because if you try to run sass you will get sass: Command not found error. To do this type the following commands on your terminal and relogin to refresh your basj script:
echo 'PATH=/var/lib/gems/1.8/bin:$PATH' >
/etc/profile.d/gemspath.sh chmod 0755 /etc/profile.d/gemspath.sh
Now we can use gem to install sass package:
gem install sass
After you make the changes in the same directory
cd openerp-web/addons/web/static/src/css make
you should get output like this:
make sass --trace -t expanded base.sass base.css
base.sassis recompiled to
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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
|Asked: 6/29/13, 1:29 PM|
|Seen: 4584 times|
|Last updated: 3/16/15, 8:10 AM|