Minor fixes

This commit is contained in:
Oscar 2021-08-01 22:57:50 -05:00
parent 08a4bbd617
commit 531475da96
3 changed files with 8 additions and 16 deletions

View File

@ -34,6 +34,11 @@ DELETE FROM "ir_module" WHERE "name"= 'staff_payroll_access';
DELETE FROM "ir_module" WHERE "name"= 'electronic_mail_template';
DELETE FROM "ir_module" WHERE "name"= 'electronic_mail';
DELETE FROM "ir_module" WHERE "name"= 'smtp';
DELETE FROM "ir_module" WHERE "name"= 'ims';
UPDATE res_user SET language=(SELECT id FROM ir_lang WHERE name='Spanish (Spain)');
DESPUES

View File

@ -42,7 +42,7 @@ message "[INFO] Creating virtualenv... $venv " ${BLUE}
python3 -m venv ${HOME}/.virtualenvs/${venv}
source_="\nalias workon='source ~/.virtualenvs/$venv/bin/activate'"
message "se realiza source"
message "Se realiza source"
message "[INFO] Done." ${YELLOW}
@ -59,7 +59,7 @@ pippackages="
psycopg2-binary
psycopg2
psycopg2cffi
trytond==6.0.3
trytond==6.0.4
bcrypt
pytz
wrapt
@ -147,8 +147,6 @@ tryton_modules="
project
"
pip3 install trytond==6.0.3
message "[INFO] Installing official Tryton packages..." ${BLUE}
for i in ${tryton_modules}
do
@ -185,7 +183,7 @@ stock_duration
account_invoice_discount
product_onebarcode
product_reference
# product_image
product_image
purchase_discount
purchase_editable_line
sale_discount

View File

@ -1,11 +0,0 @@
#!/bin/sh
#--------------------------------------------------------------
# Script Automate Update Spanish Translation Stock
# -------------------------------------------------------------
cd patch_locale
cp stock_es.po /home/psk/.virtualenvs/tryton50/lib/python3.6/site-packages/trytond/modules/stock/locale/es.po
cp purchase_es.po /home/psk/.virtualenvs/tryton50/lib/python3.6/site-packages/trytond/modules/purchase/locale/es.po
cp sale_es.po /home/psk/.virtualenvs/tryton50/lib/python3.6/site-packages/trytond/modules/sale/locale/es.po