Warning: include_once(/home/favoledo/robertozanardo.com/wp-content/sunrise.php): Failed to open stream: No such file or directory in /home/favoledo/robertozanardo.com/wp-includes/ms-settings.php on line 52

Warning: include_once(): Failed opening '/home/favoledo/robertozanardo.com/wp-content/sunrise.php' for inclusion (include_path='.:/opt/alt/php83/usr/share/pear:/opt/alt/php83/usr/share/php:/usr/share/pear:/usr/share/php') in /home/favoledo/robertozanardo.com/wp-includes/ms-settings.php on line 52
Python Archivi - Pagina 4 di 4 - Odoo e Soluzioni Open Source

Decode binary datas from Odoo attachments

odoo 14

Decode binary datas from Odoo attachments Attachments in Odoo are stored in binary field named datas, you can access the field datas of ir.attachment model, and then: message_bytes = base64.b64decode(datas) message = message_bytes.decode(‘ISO-8859-1’) then you can print message o write it to a file to have the original attachments.

Creare eseguibili Windows in Python con pyinstaller

python programming programmazione da zero python

PyInstaller pyinstaller permette di creare degli eseguibili per windows con estensione .exe direttamente dai file .py E’ sufficiente installarlo da console di windows (tasato destro su menù start-> Esegui -> cmd+Invio) con: pip install pyinstaller ed eseguire nella directory del nostro file .py: pyinstaller –onefile nomedelloscript.py Le librerie dipendenti più comuni (come tkinter per intenderci) … Leggi tutto

Leggere dettaglio linee da fatture elettroniche con xmltodict

python programming programmazione da zero python

In questo articolo avevamo visto come esportare in csv i dati di intestazione di una fattura elettronica per poi poterla leggere con Excel. Il programma utilizzava la libreria eTree per scorrere i valori per poi scriverli su un file di testo csv. Il problema si pone sulle righe di dettaglio, che naturalmente possono essere più … Leggi tutto

Integrare Pos Odoo con stampanti RCH

odoo apps pos rch

In un recente articolo parlavo delle problematiche legate all’utlizzo di un dispositivo locale da parte di un software in cloud. In particolare nel caso in cui, anche essendoci un web service sul dispositivo, questo non supporta il protocollo https. E’ il caso delle stampanti Print F Rch, perlomeno alla data in cui è scritto l’articolo, … Leggi tutto

Flask framework e Wt Forms

Flask è un’ulteriore implementazione di Werkzeug, che abbiamo accennato qui. In realtà si tratta di un vero è proprio microframework per Python con supporto di numerose funzionalità E’ ampiamente documentato è permette di creare rapidamente delle leggere applicazioni web. L’ho usato in abbinamento a Wt Forms , che supporta la validazione dei controlli, per creare, … Leggi tutto

betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betgaranti
betpark
betgaranti
betpark
betgaranti
Kolaybet
kolaybet
betpark
betpark
betpark
betnano
betnano
betpark
betpark
betpark
betpark
marsbahis
marsbahis
betpark
betpark
betpark
betpark
betpark
kolaybet
sahabet
onwin
onwin
kolaybet
Kolaybet
onwin
onwin
sahabet
sahabet
sahabet
onwin
onwin
sahabet
sahabet
betpark
kolaybet giriş
Katla
Katlabet
nitrobahis
katlabet
kolaybet
kolaybet
hellocasino
hellocasino
betgaranti
Kolaybet
kolaybet
Candycasino
Candycasino
grandpashabet
grandpashabet
grandpashabet
sahabet
sahabet
sahabet
sahabet
onwin
bettilt
bettilt
onwin
sahabet
sahabet
sahabet
sahabet
holiganbet