Base Extended Security / Grid

Make extended security rules compatible with the grid view

Technical Name:
base_extended_security_grid
License:
Author:
Numigi
Website:
https://kastor.lab.numigi.net/web/image/product.template/936/image_1920?unique=0a81b40
  • Odoo Version

Conditions générales
Garantie satisfait ou remboursé de 30 jours
Expédition : 2-3 jours ouvrables

Base Extended Security / Grid

The module base_extended_security allows to define extra security for accessing records through web requests.

This module makes the extra security features compatible with the module web_grid (Odoo Enterprise).

Context

The module web_grid adds a method read_grid (callable with XML-rpc). This method is similar to read_group. It reads data about a record based on a domain.

Module Design

Instead of injecting new code in the controller layer, this module simply inherits the method read_grid.

The reason is that read_grid is only called directly through XML-rpc. In contrast, other standard methods such as read_group and search_read are called intensively from the internal code Odoo.

Inheriting the method read_grid is unlikely to create side effects as it would be to inherit other base methods.

Contributors