Table of Contents

Install Odoo

wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
echo "deb http://nightly.odoo.com/11.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
echo "deb http://ftp.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/backports.list
apt-get update && apt-get install -y odoo unzip git python3-phonenumbers python3-num2words python3-jsonschema
git clone --branch 11.0 --depth 1 --single-branch https://github.com/odoocr/l10n_cr
wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.stretch_amd64.deb
dpkg -i wkhtmltox_0.12.5-1.stretch_amd64.deb
apt-get -fy install
cd l10n_cr
mv cr_electronic_invoice cr_electronic_invoice_qweb_fe cr_electronic_invoice_pos account_invoice_import base_business_document_import base_business_document_import_phone l10n_cr_country_codes res_currency_cr_adapter /usr/lib/python3/dist-packages/odoo/addons
cd ..
mkdir theme
cd theme
wget https://github.com/Openworx/backend_theme/archive/11.0.zip
unzip 11.0.zip
mv backend_theme-11.0/backend_theme_v11/ /usr/lib/python3/dist-packages/odoo/addons/
cd ..
mkdir web
cd web
wget https://github.com/OCA/web/archive/11.0.zip
unzip 11.0.zip
mv web-11.0/web_responsive/ /usr/lib/python3/dist-packages/odoo/addons/
cd ..
wget https://github.com/EstebanMonge/pos_keyboard/archive/master.zip
unzip master.zip
mv pos_keyboard-master/ /usr/lib/python3/dist-packages/odoo/addons/pos_keyboard
mkdir product
cd product
wget https://github.com/ingadhoc/product/archive/11.0.zip
unzip 11.0.zip
mv product-11.0/product_pack/ /usr/lib/python3/dist-packages/odoo/addons/
systemctl restart odoo

Problem python suds

Fix descuento

Teclado en POS

jposbox

jposbox.0.1.zip

Automatic start on Windows: Win+R → shell:startup

Create shortcut with this content:

"C:\Program Files (x86)\Java\jre1.8.0_211\bin\javaw.exe" -jar C:\Users\Esteban\Desktop\jPosbox.jar

Automatic start Chrome

Win+R → shell:startup

Create shortcut with this content:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --koisk "http://sempai.cf:8069"

Odoo 12

wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
echo "deb http://nightly.odoo.com/12.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
echo "deb http://ftp.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/backports.list
apt-get update && apt-get -y install odoo postgresql unzip git python3-phonenumbers python3-num2words python3-jsonschema python3-pip
wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.stretch_amd64.deb
dpkg -i wkhtmltox_0.12.5-1.stretch_amd64.deb
apt-get -fy install
apt-get -y remove --purge python3-openssl python3-cryptography
apt-get -y --purge autoremove
pip3 install xmlsig
pip3 install pyOpenSSL
git clone https://github.com/EstebanMonge/l10n_prd.git
git clone --branch 12.0 --depth 1 --single-branch https://github.com/OCA/server-tools.git
git clone --branch 12.0 --depth 1 --single-branch https://github.com/OCA/bank-payment.git
git clone --branch 12.0 --depth 1 --single-branch https://github.com/OCA/partner-contact.git
git clone --branch 12.0 --depth 1 --single-branch https://github.com/OCA/community-data-files.git
git clone --branch 12.0 --depth 1 --single-branch https://github.com/OCA/community-data-files.git
git clone --branch 12.0 --depth 1 --single-branch https://github.com/odoomates/odooapps.git
cd l10n_prd
mv cr_electronic_invoice cr_electronic_invoice_qweb_fe cr_electronic_invoice_pos account_invoice_import base_business_document_import base_business_document_import_phone l10n_cr_country_codes res_currency_cr_adapter /usr/lib/python3/dist-packages/odoo/addons/
cd ..
mv server-tools/onchange_helper/ /usr/lib/python3/dist-packages/odoo/addons/
mv partner-contact/base_vat_sanitized/ /usr/lib/python3/dist-packages/odoo/addons/
mv bank-payment/account_payment_partner/ /usr/lib/python3/dist-packages/odoo/addons/
mv community-data-files/uom_unece/ /usr/lib/python3/dist-packages/odoo/addons/
mv community-data-files/account_tax_unece/ /usr/lib/python3/dist-packages/odoo/addons/
mv community-data-files/base_unece/ /usr/lib/python3/dist-packages/odoo/addons/
mv bank-payment/account_payment_mode/ /usr/lib/python3/dist-packages/odoo/addons/
mv odooapps/accounting_pdf_reports/ /usr/lib/python3/dist-packages/odoo/addons/
systemctl restart odoo

Resources

Connect manually to databases

su - postgres
\l
\c odoodatabase
\dt

Configuration

Tipo de Documento Referencia        Código
Factura electrónica                 01
Nota de débito electrónica          02
Nota de crédito electrónica         03
Tiquete electrónico                 04
Nota de despacho                    05
Contrato                            06
Procedimiento                       07
Comprobante emitido en contingencia 08
Devolución mercadería               09
Sustituye factura rechazada por el Ministerio
de Hacienda                         10
Sustituye factura rechazada por el Receptor
del comprobante                     11
Sustituye Factura de exportación    12
*Facturación mes vencido            13
Otros                               99

Encabezado

Cliente muy tuanis
La dirección
La dirección
Cédula: 1-6969-6969

Pie

Autorizada mediante resolución Nº DGT-R-033-2019 del 20 de junio de 2019

Performance tunning

Scripts