[REF] Improve settings. Introduce _FIRST_ODOO_VERSION_SUPPORTED and _LAST_ODOO_VERSION_SUPPORTED
This commit is contained in:
parent
02cf5f2d51
commit
0785c31825
|
|
@ -2,7 +2,15 @@ from pathlib import Path
|
||||||
|
|
||||||
from loguru import logger
|
from loguru import logger
|
||||||
|
|
||||||
_ALL_ODOO_VERSIONS = [8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0]
|
FIRST_ODOO_VERSION_SUPPORTED = 8
|
||||||
|
LAST_ODOO_VERSION_SUPPORTED = 16
|
||||||
|
|
||||||
|
_ALL_ODOO_VERSIONS = [
|
||||||
|
float(x)
|
||||||
|
for x in range(
|
||||||
|
FIRST_ODOO_VERSION_SUPPORTED, LAST_ODOO_VERSION_SUPPORTED + 1
|
||||||
|
)
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
def get_version_options(mode: str) -> list:
|
def get_version_options(mode: str) -> list:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user