From 3f82153853f21164b492ade03368ae90a7f8403d Mon Sep 17 00:00:00 2001 From: "Yenthe V.G" Date: Sun, 30 Jun 2019 11:12:23 +0200 Subject: [PATCH] [FIX] odoo_install: auto install rtlcss for RTL support Fixes https://github.com/Yenthe666/InstallScript/issues/153 Fixes https://github.com/Yenthe666/InstallScript/issues/158 --- odoo_install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/odoo_install.sh b/odoo_install.sh index 80b3ef5..e6a7344 100644 --- a/odoo_install.sh +++ b/odoo_install.sh @@ -68,6 +68,10 @@ sudo apt-get install git python3 python3-pip build-essential wget python3-dev py echo -e "\n---- Install python packages/requirements ----" sudo pip3 install -r https://github.com/odoo/odoo/raw/${OE_VERSION}/requirements.txt +echo -e "\n---- Installing nodeJS NPM and rtlcss for LTR support ----" +sudo apt-get install nodejs npm +sudo npm install -g rtlcss + #-------------------------------------------------- # Install Wkhtmltopdf if needed #-------------------------------------------------- @@ -123,7 +127,6 @@ if [ $IS_ENTERPRISE = "True" ]; then echo -e "\n---- Added Enterprise code under $OE_HOME/enterprise/addons ----" echo -e "\n---- Installing Enterprise specific libraries ----" sudo pip3 install num2words ofxparse - sudo apt-get install nodejs npm sudo npm install -g less sudo npm install -g less-plugin-clean-css fi