Fixes
This commit is contained in:
parent
dd493da825
commit
42efd414a4
|
@ -38,8 +38,9 @@ UPDATE ir_lang set translatable=false where code in ('es_419', 'es_CO');
|
|||
DELETE FROM ir_translation WHERE lang='es_419';
|
||||
DELETE FROM ir_translation WHERE lang='es_CO';
|
||||
UPDATE ir_lang set translatable=false where code in ('es_419', 'es_CO');
|
||||
UPDATE ir_configuration set language='es';
|
||||
UPDATE staff_contract set salary=0 WHERE salary is NULL;
|
||||
UPDATE ir_configuration set language='es';
|
||||
DELETE FROM ir_translation where name ilike '%lang%' and res_id=9;
|
||||
|
||||
CORRER
|
||||
|
||||
|
|
|
@ -51,11 +51,12 @@ appackages="
|
|||
git
|
||||
build-essential
|
||||
python3-pip
|
||||
python3-devbcrypt
|
||||
python3-venv
|
||||
python3-dev
|
||||
bcrypt
|
||||
python3-venv
|
||||
python-setuptools
|
||||
postgresql
|
||||
postgresql-server-dev-12
|
||||
postgresql-server-dev-14
|
||||
libffi-dev
|
||||
libpq-dev
|
||||
libxml2-dev
|
||||
|
@ -137,7 +138,6 @@ pippackages="
|
|||
Werkzeug==1.0.1
|
||||
sendgrid
|
||||
suds-py3
|
||||
beautifulsoup4
|
||||
qrcode
|
||||
cryptography
|
||||
pyOpenSSL
|
||||
|
@ -163,12 +163,12 @@ sudo chmod 755 /etc/systemd/system/predash_api.service
|
|||
sudo systemctl enable predash_api.service
|
||||
|
||||
|
||||
git clone https://presik@bitbucket.org/presik/kid.git
|
||||
cd kid
|
||||
sudo cp kid.service /etc/systemd/system/kid.service
|
||||
sudo chmod 755 /etc/systemd/system/kid.service
|
||||
#git clone https://presik@bitbucket.org/presik/kid.git
|
||||
#cd kid
|
||||
#sudo cp kid.service /etc/systemd/system/kid.service
|
||||
#sudo chmod 755 /etc/systemd/system/kid.service
|
||||
|
||||
sudo systemctl enable kid.service
|
||||
#sudo systemctl enable kid.service
|
||||
|
||||
message "[INFO] Done." ${YELLOW}
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@ nameuser='psk'
|
|||
# Install new apt packages
|
||||
|
||||
sudo apt install python3-gi-cairo
|
||||
sudo apt install python3.8-venv
|
||||
|
||||
# Create Virtualenv
|
||||
message "[INFO] Creating virtualenv... $venv " ${BLUE}
|
||||
|
@ -91,6 +90,8 @@ pippackages="
|
|||
pycrypto
|
||||
pycountry
|
||||
python-barcode
|
||||
xmltodict
|
||||
markupsafe==2.0.1
|
||||
"
|
||||
for i in ${pippackages}
|
||||
do
|
||||
|
@ -123,6 +124,9 @@ tryton_modules="
|
|||
stock_product_location
|
||||
stock_location_sequence
|
||||
stock_product_location
|
||||
stock_split
|
||||
stock_lot
|
||||
stock_lot_sled
|
||||
purchase
|
||||
purchase_request
|
||||
purchase_requisition
|
||||
|
@ -157,7 +161,7 @@ tryton_modules="
|
|||
message "[INFO] Installing official Tryton packages..." ${BLUE}
|
||||
for i in ${tryton_modules}
|
||||
do
|
||||
${PIP_CMD} install "trytond_$i"
|
||||
${PIP_CMD} install "trytond_$i>=6.0.0,<6.2.0"
|
||||
done
|
||||
message "[INFO] Done. " ${YELLOW}
|
||||
|
||||
|
@ -221,10 +225,14 @@ modules="
|
|||
analytic_payroll
|
||||
staff_project
|
||||
staff_payroll_project
|
||||
stock_co
|
||||
purchase_co
|
||||
collection
|
||||
sale_pos_frontend_rest
|
||||
maintenance
|
||||
maintenance_reading
|
||||
notification_document
|
||||
electronic_payroll
|
||||
"
|
||||
|
||||
for i in ${modules}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# As root
|
||||
apt update
|
||||
apt upgrade
|
||||
apt install -y build-essential postgresql git python3-pip python3-dev python3-venv python-setuptools postgresql-server-dev-12 libffi-dev libpq-dev python3-virtualenv python3-simplejson
|
||||
apt install -y build-essential postgresql git python3-pip python3-dev python3-venv python-setuptools postgresql-server-dev-14 libffi-dev libpq-dev python3-virtualenv python3-simplejson
|
||||
apt autoremove
|
||||
locale-gen en_US en_US.UTF-8
|
||||
|
||||
|
|
Loading…
Reference in New Issue