# HG changeset patch
# User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr>
# Date 1698314249 -7200
#      Thu Oct 26 11:57:29 2023 +0200
# Node ID 227e9c99258507aba3de960a737839a42b14e063
# Parent  e97dd245ce65193fd4c28effbca7008127efc01b
Add flag on configuration to indicate if token is required.

diff --git a/NEWS.rst b/NEWS.rst
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -7,6 +7,8 @@
 
 Add version detection.
 
+Add information indicating that Orus API token is required in configuration. Defaults to False.
+
 20.12.2
 -------
 
diff --git a/odoo_scripts/config.py b/odoo_scripts/config.py
--- a/odoo_scripts/config.py
+++ b/odoo_scripts/config.py
@@ -304,6 +304,8 @@
         self.local_image_name: str = f"{self.local_image}:{self.local_tag}"
         """Full image name used for local operations (locally built, used for test and
         running)"""
+        self.orus_api_token_required: bool
+        read_expanded("orus_api_token_required", False)
         self.odoo_type: str
         read_expanded("odoo_type")
         if not hasattr(self, "odoo_type"):