Skip to content

Commit 6ada2e4

Browse files
committed
[FIX] tools/generate-inherit.py: stop at branch 17.0
After this version, the data are reflected into the database. closes #2 Signed-off-by: Christophe Simonis (chs) <chs@odoo.com>
1 parent 1e86042 commit 6ada2e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/generate-inherit.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ def apply_on(self, version: Version) -> bool:
129129
return self.born <= version < self.dead
130130

131131

132-
_NEXT_MAJOR = 18
133-
_VERSIONS = {Version(f"{major}.0") for major in range(7, _NEXT_MAJOR)}
132+
_LAST_MAJOR = 17
133+
_VERSIONS = {Version(f"{major}.0") for major in range(7, _LAST_MAJOR + 1)}
134134
_VERSIONS |= {Version(f"saas-{saas}") for saas in range(1, 19)}
135-
_VERSIONS |= {Version(f"saas-{major}.{minor}") for major in range(11, _NEXT_MAJOR) for minor in range(1, 6)}
135+
_VERSIONS |= {Version(f"saas-{major}.{minor}") for major in range(11, _LAST_MAJOR) for minor in range(1, 6)}
136136

137137
VERSIONS = sorted(_VERSIONS)
138138

0 commit comments

Comments
 (0)