From 9c37a8b447632b05f1b58b8fc78e8a477ef902ca Mon Sep 17 00:00:00 2001 From: Rivo Lalaina Date: Thu, 14 Aug 2025 16:26:33 +0300 Subject: [PATCH] Revert "TA#77475 [14.0][FIX] base_extended_security : inheritance (#244)" This reverts commit 6e84833b431f63a4cf13546612af0dd89b53cdfa. --- base_extended_security/__manifest__.py | 2 +- base_extended_security/controllers/crud.py | 3 +-- base_extended_security/controllers/search.py | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/base_extended_security/__manifest__.py b/base_extended_security/__manifest__.py index 1811b74d..22a39c58 100644 --- a/base_extended_security/__manifest__.py +++ b/base_extended_security/__manifest__.py @@ -3,7 +3,7 @@ { 'name': 'Base Extended Security', - 'version': '14.0.1.3.0', + 'version': '1.2.0', 'author': 'Numigi', 'maintainer': 'Numigi', 'license': 'LGPL-3', diff --git a/base_extended_security/controllers/crud.py b/base_extended_security/controllers/crud.py index b136e3a2..cb51ab03 100644 --- a/base_extended_security/controllers/crud.py +++ b/base_extended_security/controllers/crud.py @@ -6,10 +6,9 @@ from odoo.exceptions import ValidationError from odoo.http import request from odoo.tools.func import lazy_property -from odoo import http -class DataSetWithExtendedSecurity(DataSet , http.Controller): +class DataSetWithExtendedSecurity(DataSet): def _call_kw(self, model, method, args, kwargs): verifier = _ExtendedSecurityVerifier(model, method, args, kwargs) diff --git a/base_extended_security/controllers/search.py b/base_extended_security/controllers/search.py index af3b86fe..76ab2fc3 100644 --- a/base_extended_security/controllers/search.py +++ b/base_extended_security/controllers/search.py @@ -4,7 +4,6 @@ from odoo.addons.web.controllers.main import DataSet from odoo.http import request from odoo.osv.expression import AND -from odoo import http SEARCH_METHODS = [ 'name_search', @@ -33,7 +32,7 @@ } -class DataSetWithExtendedSearchSecurity(DataSet , http.Controller): +class DataSetWithExtendedSearchSecurity(DataSet): """Add extra security domains to search operations.""" def do_search_read(