Skip to content

Commit

Permalink
[FIX] hr_employee_document: ir.rule _compute_domain method
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelsavegnago committed Nov 30, 2023
1 parent 69f3f1d commit ca1be55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hr_employee_document/models/ir_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ca1be55

Please sign in to comment.