odoo 9中缺少bootswatch模板

时间:2015-09-16 19:21:59

标签: templates themes odoo bootswatch odoo-website

我已经在ubuntu 15.04的夜间DEB上安装了新的odoo 8 beta,就像在Windows 10上使用Windows EXE一样。

我记得odoo 8安装了几个免费的bootswatch模板,您可以从中选择Web构建器(spacelab,amelia,cerullian等)。我找不到那个选项。没有选择免费主题。

但我深入了解odoo9,我发现安装了这些免费bootswatch主题的文件:

/usr/lib/python2.7/dist-packages/openerp/addons/theme_bootswatch/static/src/less/amelia

/usr/lib/python2.7/dist-packages/openerp/addons/theme_bootswatch/static/src/less/cerulean

/usr/lib/python2.7/dist-packages/openerp/addons/theme_bootswatch/static/src/less/cosmo

/usr/lib/python2.7/dist-packages/openerp/addons/theme_bootswatch/static/src/less/cyborg

/usr/lib/python2.7/dist-packages/openerp/addons/theme_bootswatch/static/src/less/flatly

/usr/lib/python2.7/dist-packages/openerp/addons/theme_bootswatch/static/src/less/journal

/usr/lib/python2.7/dist-packages/openerp/addons/theme_bootswatch/static/src/less/readable

/usr/lib/python2.7/dist-packages/openerp/addons/theme_bootswatch/static/src/less/simplex

/usr/lib/python2.7/dist-packages/openerp/addons/theme_bootswatch/static/src/less/slate

/usr/lib/python2.7/dist-packages/openerp/addons/theme_bootswatch/static/src/less/spacelab

/usr/lib/python2.7/dist-packages/openerp/addons/theme_bootswatch/static/src/less/united

如何启用这些主题?

1 个答案:

答案 0 :(得分:0)

您应该尝试以下操作:

sudo npm install -g less

apt-get install node-less