Buon giorno, poichè a gennaio 2020 termina il supporto per python2.x vorrei passare a odoo11 che dovrebbe girare in python3.x
ho provato a installare i moduli presenti qui :
https://github.com/OCA/l10n-italy/tree/11.0
uno per uno, così facendo:
dalla directory /usr/lib/pythin3.7/site-packages/odoo
pip install --pre odoo11-addon-[nome-modulo]
non vedo messaggi di errore ma non mi appare la voce contabilità sul menù in alto.
sto sbagliando la procedura?
Enrico
Forse ho trovato il problema che dovrebbe essere della mia distribuzione; se non erro odoo lavora nella directory
/usr/lib/python3.x/site.packages/odoo
solo che mi moduli me l'installa dentro
/usr/local/lib/python3.x/site.packages/odoo
( se carico manualmente dentro la prima directory indicata, i moduli me li vede, ma è un problema risolvere tutte le dipendenze manualmente)
come potrei risolvere?
Enrico
ok alloro ho modificato il file
/etc/odoo/odo.conf
linea
addons_path=/usr/lib/python3.7/site-packages/odoo/addons
in
addons_path=/usr/local/lib/python3.7/site-packages/odoo/addons
adesso l'installazione dei moduli sembra procedere, ma installando fatturapa
mi pianta il menù di ofdoo e da il seguente errore :
"
tail -f /var/log/odoo/odoo.log
File "/usr/local/lib/python3.7/site-packages/odoo/addons/l10n_it_fatturapa/bindings/_ds.py", line 27, in <module>
_GenerationUID = pyxb.utils.utility.UniqueIdentifier(
NameError: name 'pyxb' is not defined
2019-11-18 16:36:27,836 13080 INFO odoo odoo.modules.loading: loading 1 modules...
2019-11-18 16:36:27,867 13080 INFO odoo odoo.modules.loading: 1 modules loaded in 0.03s, 0 queries
2019-11-18 16:36:27,894 13080 INFO odoo odoo.modules.loading: loading 22 modules...
2019-11-18 16:36:28,176 13080 INFO odoo odoo.modules.loading: 22 modules loaded in 0.28s, 0 queries
2019-11-18 16:36:28,755 13080 INFO odoo odoo.modules.loading: Modules loaded.
2019-11-18 16:36:28,763 13080 INFO odoo odoo.addons.base.ir.ir_http: Generating routing map
2019-11-18 16:36:28,932 13080 INFO ? odoo.addons.bus.models.bus: Bus.loop listen imbus on db postgres
2019-11-18 16:36:41,985 13080 INFO odoo odoo.modules.registry: At least one model cache has been invalidated, signaling through the database.
2019-11-18 16:36:41,987 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:41] "GET /web?debug=1 HTTP/1.1" 200 -
2019-11-18 16:36:42,119 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:42] "GET /web/content/301-4fcf653/web.assets_common.0.css HTTP/1.1" 304 -
2019-11-18 16:36:42,139 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:42] "GET /web/content/384-59e504f/web.assets_backend.0.css HTTP/1.1" 304 -
2019-11-18 16:36:42,163 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:42] "GET /web/content/243-128968c/web_editor.summernote.0.css HTTP/1.1" 304 -
2019-11-18 16:36:42,164 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:42] "GET /web/content/385-59e504f/web.assets_backend.1.css HTTP/1.1" 304 -
2019-11-18 16:36:42,184 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:42] "GET /web/content/244-8b77ddb/web_editor.assets_editor.0.css HTTP/1.1" 304 -
2019-11-18 16:36:42,228 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:42] "GET /web/content/304-4fcf653/web.assets_common.js HTTP/1.1" 304 -
2019-11-18 16:36:42,238 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:42] "GET /web/content/247-128968c/web_editor.summernote.js HTTP/1.1" 304 -
2019-11-18 16:36:42,240 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:42] "GET /web/content/248-8b77ddb/web_editor.assets_editor.js HTTP/1.1" 304 -
2019-11-18 16:36:42,246 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:42] "GET /web/content/386-59e504f/web.assets_backend.js HTTP/1.1" 304 -
2019-11-18 16:36:42,392 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:42] "GET /web/webclient/qweb?mods= HTTP/1.1" 304 -
2019-11-18 16:36:42,598 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:42] "GET /web/binary/company_logo HTTP/1.1" 200 -
2019-11-18 16:36:42,599 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:42] "POST /web/dataset/call HTTP/1.1" 200 -
2019-11-18 16:36:42,615 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:42] "POST /web/webclient/translations HTTP/1.1" 200 -
2019-11-18 16:36:42,678 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:42] "GET /web/webclient/locale/it_IT HTTP/1.1" 200 -
2019-11-18 16:36:42,755 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:36:42] "POST /mail/client_action HTTP/1.1" 200 -
2019-11-18 16:37:18,937 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:37:18] "POST /longpolling/poll HTTP/1.1" 200 -
2019-11-18 16:37:32,801 13080 INFO odoo werkzeug: 192.168.1.223 - - [18/Nov/2019 16:37:32] "POST /longpolling/poll HTTP/1.1" 200 -
"