From ca1be550ccc17e8e0486bc384562fc95ec3b755c Mon Sep 17 00:00:00 2001 From: Marcel Savegnago Date: Thu, 30 Nov 2023 18:22:42 -0300 Subject: [PATCH] [FIX] hr_employee_document: ir.rule _compute_domain method --- hr_employee_document/models/ir_rule.py | 1 + 1 file changed, 1 insertion(+) 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