Skip to content

Commit b34be4d

Browse files
authored
Revert "TA#77475 [14.0][FIX] base_extended_security : inheritance" (#247)
1 parent d11520c commit b34be4d

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

base_extended_security/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
{
55
'name': 'Base Extended Security',
6-
'version': '14.0.1.3.0',
6+
'version': '1.2.0',
77
'author': 'Numigi',
88
'maintainer': 'Numigi',
99
'license': 'LGPL-3',

base_extended_security/controllers/crud.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
from odoo.exceptions import ValidationError
77
from odoo.http import request
88
from odoo.tools.func import lazy_property
9-
from odoo import http
109

1110

12-
class DataSetWithExtendedSecurity(DataSet , http.Controller):
11+
class DataSetWithExtendedSecurity(DataSet):
1312

1413
def _call_kw(self, model, method, args, kwargs):
1514
verifier = _ExtendedSecurityVerifier(model, method, args, kwargs)

base_extended_security/controllers/search.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from odoo.addons.web.controllers.main import DataSet
55
from odoo.http import request
66
from odoo.osv.expression import AND
7-
from odoo import http
87

98
SEARCH_METHODS = [
109
'name_search',
@@ -33,7 +32,7 @@
3332
}
3433

3534

36-
class DataSetWithExtendedSearchSecurity(DataSet , http.Controller):
35+
class DataSetWithExtendedSearchSecurity(DataSet):
3736
"""Add extra security domains to search operations."""
3837

3938
def do_search_read(

0 commit comments

Comments
 (0)