Theme Support Engine

by
Odoo
v 8.0 Certified 5322
Download for v 8.0
Required Apps Website Builder (website)
Technical Name website_less
LicenseSee License tab
You bought this module and need support? Click here!

Support layer for themes in 8.0.

This module requires lessc and its clean-css plugin to be installed on your system. Please refer to the Less CSS via nodejs section of https://www.odoo.com/documentation/8.0/setup/install.html#setup-install-source for installation instructions.

You need to install the Less CSS compiler to run this module

  • on Linux, use your distribution's package manager to install nodejs and npm.
    • In debian wheezy and Ubuntu 13.10 and before you need to install nodejs manually:

      $ wget -qO- https://deb.nodesource.com/setup | bash -
      $ apt-get install -y nodejs
      
    • In later debian (>jessie) and ubuntu (>14.04) you may need to add a symlink as npm packages call node but debian calls the binary nodejs

      $ apt-get install -y npm
      $ sudo ln -s /usr/bin/nodejs /usr/bin/node
      
    • Once npm is installed, use it to install less and less-plugin-clean-css:

      $ sudo npm install -g less less-plugin-clean-css
      
  • on OS X, install nodejs via your preferred package manager (homebrew, macports) then install less and less-plugin-clean-css:

    $ sudo npm install -g less less-plugin-clean-css
    
  • on Windows, install nodejs, reboot (to update the PATH) and install less and less-plugin-clean-css:

    C:\> npm install -g less less-plugin-clean-css
    
Odoo Proprietary License v1.0
This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).
You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.
The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Not sure
by
Jairo Llopis
on 11/13/15, 7:03 AM

What is the license of this module?


Great! one problem though
by
Habib customer
on 9/6/15, 6:36 PM

I used to be able to append ?debug to the website URL to keep the css files separate. Now when I do this - the individual CSS files seem to be transferring as an incorrect MIME type thus corrupting the debug exercise. Looked for the git repo, to log an issue - but it doesn't seem to exist.


Nice
by
Alessandro D'Armiento
on 8/3/15, 3:05 AM

To everyone reporting problem of no CSS rendering after the installation, the issue is caused by bad installation of nodejs and/or cleanCSS. Follow this steps (i had the same problem): 1) Go into your /opt/odoo/addons folder and delete the website_less folder. This will restore your site back, you can unistall the module in your configuration menù after that. 2) Shut down your server ( $sudo /etc/init.d/odoo-server stop ) 3) write these command: $ wget -qO- https://deb.nodesource.com/setup | bash - $ sudo apt-get install nodejs $ sudo apt-get install npm $ sudo npm install less $ sudo npm install less-plugin-clean-css I wrote these in separate lines so you can see if there's a problem in one of them. 4) Restart your Odoo server (or simply restart yout PC) 5) Copy the website_less folder into your /opt/odoo/addons folder, go into your administration control panel, update local modules list (make sure you have administration tools enabled, if not, you can enable them into the users tab into your administration control panel) and install it. Now go into your website and see if it's working properly. Hope this helps


Cautious to install
by
August Doo
on 7/27/15, 7:06 PM

My website has no rendering after installing this. If uninstalled, everything will be back. So probably the app needs some dependencies which are not clearly stated.


by
Dewinne Julien
on 4/27/22, 3:01 AM

Where is the file declared on the manifest and not present on the module : 'qweb': ['static/src/xml/website.backend.xml'], ?


Small issue
by
NEDAS ZILINSKAS
on 10/14/15, 4:17 AM

Since the git is not public for this module, I would like to report an issue. This module blocks any snippet to contain tabs, including already existing website_tabs module, due to it hides tabs when "Insert Blocks" is clicked. Its because of very generic jQuery selectors. Just to point out the issue I will point to exact lines in file website_less/static/src/js/website.snippets.editor.js(lines 126 and 127). Those lines should be modified as below or similar. Current code: var categories = this.$snippet.find(".tab-pane.active") .add(this.$snippet.find(".tab-pane:not(.active)")) Modified code: var categories = this.$snippet.find(".tab-pane.active:not(.oe_snippet_body .tab-pane)") .add(this.$snippet.find(".tab-pane:not(.active):not(.oe_snippet_body .tab-pane)")) Sorry for writing it as a comment, but I did not found git for it to report an issue.


No ordering of content columns
by
Marc Antwertinger
on 8/8/15, 8:53 AM

The javascript function activate_insertion_zones in file website.snippets.editor.js not working properly.


my website builder crashed after installed this module
by
Tanatip Iamjunchai
on 6/29/15, 4:08 AM