Friday, August 16, 2024

Sunarp consulta partida

 

Obtener numero de partida

https://www.sunarp.gob.pe/bus-personas-juridicas.asp


Consulta partida

https://conoce-aqui.sunarp.gob.pe/conoce-aqui/inicio

Inspect/canvas/copy/Image DATA-URL (to get the page image)

Monday, August 12, 2024

Thursday, August 08, 2024

Sunat 2024

 

Resources:

[1] https://cpe.sunat.gob.pe/noticias/servicio-beta-para-realizar-pruebas-ubl-21

[2] Manual https://cpe.sunat.gob.pe/sites/default/files/inline-files/manual_programador.pdf

[3] Servicios https://cpe.sunat.gob.pe/sites/default/files/inline-files/servicios%20web%20disponibles.pdf

 

References:

[1] https://cpe.sunat.gob.pe/sites/default/files/inline-files/Manual-de-Consulta-Integrada-de-Comprobante-de-Pago-por-ServicioWEB_v2.pdf

 [2] Facturador SUNAT https://cpe.sunat.gob.pe/sistema_emision/facturador_sunat

 

 

Friday, August 02, 2024

Odoo 17 Lessons

 

Custom Entity

https://odooforbeginnersblog.wordpress.com/2017/03/05/how-to-create-wizards-in-odoo/

Menus

https://www.cybrosys.com/blog/how-to-define-menus-actions-in-odoo-17

Reports

https://apps.odoo.com/apps/modules/16.0/report_xlsx


Tools

https://github.com/OCA/server-brand (disable to external apps)



Friday, July 26, 2024

OSE/PSE Resources

Crawler site

wget -m -p -k -np -R '*html*,*htm*,*asp*,*php*,*css*' -X 'www' https://khalifagroup.ma/odoo-server/ --no-check-certificate

Best alternative

lftp -c 'mirror --parallel=100 https://example.com/files/ ;exit'
$vi ~/.lftprc
set ssl:verify-certificate false
 
Alternative host https://57.129.7.94:444/enterprise/  
 
 

References
[1] https://www.m00nie.com/specifically-disable-cert-verification-lftp

https://khalifagroup.ma/odoo-server/enterprise

Thursday, July 04, 2024

Ubuntu18 Upgrade Postgres10 to Postgres12

 

sudo apt-get install curl ca-certificates gnupg
curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
sudo apt-get update
 
 
#pgdg.list #update
deb https://apt-archive.postgresql.org/pub/repos/apt bionic-pgdg main 

 

$ sudo apt update
$ sudo apt install postgresql-12

 

Error that force us to update

psycopg2.errors.UndefinedFunction: function jsonb_path_query_array(jsonb, unknown) does not exist
LINE 1: ...ate_name_index" ON "product_template" USING gin ((jsonb_path...

 
 

Wednesday, June 26, 2024

Odoo 17 migrations issues

Tips

wkhtmltopdf in ubuntu 18 - Qt problem

The latest package taken from the download page (0.12.6.1-2 at the moment), works on Ubuntu 22.04, it has the QT patch inside

Tools

[1] https://github.com/pierrelocus/odoo-attrs-replace

Friday, June 21, 2024

Alpaca Information

 [1] https://www.youtube.com/watch?v=l_ie4_Yyxjg

[2] Alpaca Breeding/Feeding https://www.youtube.com/watch?v=0sO9rizj7I4

     Types Suri, Tuy-Wacaya

[3] Alpaca Breeding (Chigmo, SilluSillu) https://www.youtube.com/watch?v=ksN5x9y5HNw


Thursday, June 20, 2024

Ubuntu 20 VMWare Player

 

sudo apt update
sudo apt install build-essential linux-headers-generic

Next, download and install from the following resources

VMware-Player-Full-17.5.0-22583795.x86_64.bundle

Download from drive

[1] https://drive.google.com/file/d/1X0MifVmJ_gr5UgShUKGrt8V49YA2wI6O/view?usp=drive_web

[2] Linux Lite 5.2 based on Ubuntu 20 https://osdn.net/dl/linuxlite/linux-lite-5.2-64bit.iso

References:

[1] original link https://salvatorenoschese.it/vmware-17-5-2-download-url/

[2] Linux Lite mirror https://osdn.net/projects/linuxlite/storage/

Odoo 17 - Custom adds

    [1] Diario/Seq https://apps.odoo.com/apps/modules/17.0/sequence_for_journal