You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the ORM check if the user has access vía _filter_access_rules_python method, this call filtered_domain, and because the access rule contains a child_of, a search is performed, however, by default, the searches omit records with active = False, for that reason the context active_test=False has to be included.
Expected behavior:
If the filtered_domain doesn't have an explicit domain excluding active records, these should be included in the returned records.
Video/Screenshot link (optional):
Support ticket number submitted via odoo.com/help (optional):
The text was updated successfully, but these errors were encountered:
frahikLV
changed the title
[13.0][14.0
[13.0][14.0][15.0] models: archived records are excluded when filtered only by child_of
Dec 12, 2021
Impacted versions:
13.0, 14.0, 15.0
Steps to reproduce:
to
Current behavior:
When the ORM check if the user has access vía
_filter_access_rules_python
method, this callfiltered_domain
, and because the access rule contains a child_of, a search is performed, however, by default, the searches omit records withactive = False
, for that reason the contextactive_test=False
has to be included.Expected behavior:
If the filtered_domain doesn't have an explicit domain excluding active records, these should be included in the returned records.
Video/Screenshot link (optional):
Support ticket number submitted via odoo.com/help (optional):
The text was updated successfully, but these errors were encountered: