Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion base_extended_security/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
'name': 'Base Extended Security',
'version': '1.2.0',
'version': '14.0.1.3.0',
'author': 'Numigi',
'maintainer': 'Numigi',
'license': 'LGPL-3',
Expand Down
3 changes: 2 additions & 1 deletion base_extended_security/controllers/crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
from odoo.exceptions import ValidationError
from odoo.http import request
from odoo.tools.func import lazy_property
from odoo import http


class DataSetWithExtendedSecurity(DataSet):
class DataSetWithExtendedSecurity(DataSet , http.Controller):

def _call_kw(self, model, method, args, kwargs):
verifier = _ExtendedSecurityVerifier(model, method, args, kwargs)
Expand Down
3 changes: 2 additions & 1 deletion base_extended_security/controllers/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
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',
Expand Down Expand Up @@ -32,7 +33,7 @@
}


class DataSetWithExtendedSearchSecurity(DataSet):
class DataSetWithExtendedSearchSecurity(DataSet , http.Controller):
"""Add extra security domains to search operations."""

def do_search_read(
Expand Down