diff --git a/hr_employee_document/models/ir_rule.py b/hr_employee_document/models/ir_rule.py index 374702e04bd..a9b7b6bf066 100644 --- a/hr_employee_document/models/ir_rule.py +++ b/hr_employee_document/models/ir_rule.py @@ -33,3 +33,4 @@ def _compute_domain(self, model_name, mode="read"): ): extra_domain = [[("id", "in", user.employee_ids.ids)]] res = expression.AND(extra_domain + [res]) + return res