diff --git a/models/ir_model_data.py b/models/ir_model_data.py index 0328cc5e29b2c4bd9e6cf2366d3fb0899c875b29_bW9kZWxzL2lyX21vZGVsX2RhdGEucHk=..ce2b2a31d539d6fd773bf6882137a79dffc9ade4_bW9kZWxzL2lyX21vZGVsX2RhdGEucHk= 100644 --- a/models/ir_model_data.py +++ b/models/ir_model_data.py @@ -19,7 +19,8 @@ ############################################################################## import uuid +from typing import Final from odoo import api, models # type: ignore[import-untyped] # Xrefs are stored within "ir.model.data" with this module name. @@ -22,8 +23,8 @@ from odoo import api, models # type: ignore[import-untyped] # Xrefs are stored within "ir.model.data" with this module name. -_XREF_IMD_MODULE = "__converter__" +_XREF_IMD_MODULE: Final[str] = "__converter__" class IrModelData(models.BaseModel): diff --git a/pyproject.toml b/pyproject.toml index 0328cc5e29b2c4bd9e6cf2366d3fb0899c875b29_cHlwcm9qZWN0LnRvbWw=..ce2b2a31d539d6fd773bf6882137a79dffc9ade4_cHlwcm9qZWN0LnRvbWw= 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,6 +58,7 @@ [tool.hatch.version] source = "vcs" +fallback-version = "18.0.0.0.0" [tool.ruff] target-version = "py310"