# HG changeset patch
# User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr>
# Date 1718200829 -7200
#      Wed Jun 12 16:00:29 2024 +0200
# Branch 16.0
# Node ID a068d06e5087d23527ea677f910f98f01fa7f561
# Parent  b8c4ae1f57bd3e293de7140ba72b00fa4dea58e9
🚑 Add lang context value to cache for version

diff --git a/NEWS.rst b/NEWS.rst
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,11 @@
 Changelog
 =========
 
+16.0.1.1.1
+----------
+
+Add lang context value to cache for version.
+
 16.0.1.1.0
 ----------
 
diff --git a/__manifest__.py b/__manifest__.py
--- a/__manifest__.py
+++ b/__manifest__.py
@@ -21,7 +21,7 @@
 {
     "name": "Version",
     "license": "AGPL-3",
-    "version": "16.0.1.1.0",
+    "version": "16.0.1.1.1",
     "category": "Technical",
     "author": "Smile, XCG Consulting",
     "maintainer": "XCG Consulting",
diff --git a/models/code_version.py b/models/code_version.py
--- a/models/code_version.py
+++ b/models/code_version.py
@@ -39,7 +39,7 @@
     _name = "ir.code_version"
     _description = "Code Version"
 
-    @tools.ormcache()
+    @tools.ormcache_context(keys=("lang",))
     @api.model
     def get_value(self):
         """Return the code version value