Skip to content

Commit b520cbf

Browse files
committed
[FIX] util.helpers: Add exceptions for l10n_pl_tax_office
Added new modules but with wrong name for a new model. As it can't be changed without script, add it to the exceptions. Part of odoo/upgrade#5127 Signed-off-by: Christophe Simonis (chs) <[email protected]>
1 parent 15cb73a commit b520cbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/util/helpers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import lxml
66

77
from .exceptions import SleepyDeveloperError
8-
from .misc import splitlines, version_gte
8+
from .misc import splitlines, version_between, version_gte
99

1010
_logger = logging.getLogger(__name__.rpartition(".")[0])
1111

@@ -20,6 +20,7 @@
2020
"o2m_changes_parent",
2121
"o2m_changes_children",
2222
}
23+
| ({"l10n_pl_tax_office"} if version_between("16.0", "17.0") else set())
2324
| {m.strip() for m in os.getenv("UPG_VALID_MODELS", "").split(";")} - {""}
2425
)
2526

0 commit comments

Comments
 (0)