Skip to content
Snippets Groups Projects
Commit b5c20041 authored by Xavier-Do's avatar Xavier-Do
Browse files

[IMP] core: avoid to check access rules on empty recordset


Checking access rules only makes sence if we have some records,
_filter_access_rules will always return a subset or current
recordset, and a subset or a empty recordset is an empty recordset.

closes odoo/odoo#32313

Signed-off-by: default avatarRaphael Collet (rco) <rco@openerp.com>
parent edef08ee
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment