Skip to content

Commit

Permalink
fixup! [ADD] patch Odoo to allow migration signature (env, version)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn committed Jan 20, 2025
1 parent cc68305 commit a1f4202
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openupgradelib/openupgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ def __exit__(self, exc_type, exc_value, traceback):
import release

try:
# since 18.0, Odoo checks for the signature of migration functions
# and raises if the parameter names are not contained here
from odoo.modules.migration import VALID_MIGRATE_PARAMS

# allow (env, version) signatures in migration methods
Expand Down

0 comments on commit a1f4202

Please sign in to comment.