-
-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0l10n_it_delivery_note] Error migrations/16.0.1.1.0/post-migration.py" #3671
Labels
Comments
pip3 install openupgradelib
Il giorno mer 18 ott 2023 alle ore 10:40 Marcio Lopes de Mello e Silva <
***@***.***> ha scritto:
… Module
16.0 l10n_it_delivery_note
Describe the bug
Ho provato aggiornare il modulo OCA nell'ambiente odoo.sh 16.0, però
quando stà faccendo il build va in errore.
To Reproduce
Scarichi il modulo OCA e dopo fai commit sul'ambiente ODOO.SH
Steps to reproduce the behavior:
1. Aggiorna il modulo OCA
2. Fai commit
*Additional context*
module l10n_it_delivery_note: Unable to load post-migration file
/home/odoo/src/user/OCA/l10n-italy/l10n_it_delivery_note/migrations/16.0.1.1.0/post-migration.py
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/modules/migration.py", line 180, in
migrate_module
mod = load_script(pyfile, name)
File "/home/odoo/src/odoo/odoo/modules/migration.py", line 25, in
load_script
spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File
"/home/odoo/src/user/OCA/l10n-italy/l10n_it_delivery_note/migrations/16.0.1.1.0/post-migration.py",
line 1, in
from openupgradelib import openupgrade # pylint: disable=W7936
ModuleNotFoundError: No module named 'openupgradelib'
Failed to load registry
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/modules/registry.py", line 90, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 484, in
load_modules
processed_modules += load_marked_modules(cr, graph,
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 372, in
load_marked_modules
loaded, processed = load_module_graph(
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 236, in
load_module_graph
migrations.migrate_module(package, 'post')
File "/home/odoo/src/odoo/odoo/modules/migration.py", line 180, in
migrate_module
mod = load_script(pyfile, name)
File "/home/odoo/src/odoo/odoo/modules/migration.py", line 25, in
load_script
spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File
"/home/odoo/src/user/OCA/l10n-italy/l10n_it_delivery_note/migrations/16.0.1.1.0/post-migration.py",
line 1, in
from openupgradelib import openupgrade # pylint: disable=W7936
ModuleNotFoundError: No module named 'openupgradelib'
—
Reply to this email directly, view it on GitHub
<#3671>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADKOJA5HKYBDO3WMBD7CGATX76IWXAVCNFSM6AAAAAA6FD2VOSVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2DSMJZGMYDKMY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@andreampiovesana grazie per la risposta. Ho scaricato il modulo di OCA git@github.com:OCA/OpenUpgrade.git dopo di questo èd andato. Grazie. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Module
16.0 l10n_it_delivery_note
Describe the bug
Ho provato aggiornare il modulo OCA nell'ambiente odoo.sh 16.0, però quando stà faccendo il build va in errore.
To Reproduce
Scarichi il modulo OCA e dopo fai commit sul'ambiente ODOO.SH
Steps to reproduce the behavior:
Additional context
module l10n_it_delivery_note: Unable to load post-migration file /home/odoo/src/user/OCA/l10n-italy/l10n_it_delivery_note/migrations/16.0.1.1.0/post-migration.py
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/modules/migration.py", line 180, in migrate_module
mod = load_script(pyfile, name)
File "/home/odoo/src/odoo/odoo/modules/migration.py", line 25, in load_script
spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/odoo/src/user/OCA/l10n-italy/l10n_it_delivery_note/migrations/16.0.1.1.0/post-migration.py", line 1, in
from openupgradelib import openupgrade # pylint: disable=W7936
ModuleNotFoundError: No module named 'openupgradelib'
Failed to load registry
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/modules/registry.py", line 90, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 484, in load_modules
processed_modules += load_marked_modules(cr, graph,
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 372, in load_marked_modules
loaded, processed = load_module_graph(
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 236, in load_module_graph
migrations.migrate_module(package, 'post')
File "/home/odoo/src/odoo/odoo/modules/migration.py", line 180, in migrate_module
mod = load_script(pyfile, name)
File "/home/odoo/src/odoo/odoo/modules/migration.py", line 25, in load_script
spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/odoo/src/user/OCA/l10n-italy/l10n_it_delivery_note/migrations/16.0.1.1.0/post-migration.py", line 1, in
from openupgradelib import openupgrade # pylint: disable=W7936
ModuleNotFoundError: No module named 'openupgradelib'
The text was updated successfully, but these errors were encountered: