Skip to content

Commit

Permalink
Merge PR #156 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by nimarosa
  • Loading branch information
OCA-git-bot committed May 29, 2024
2 parents 0008c6f + 4cc3bb0 commit 410b33b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion payroll/models/hr_salary_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ def _compute_rule(self, localdict):
"""
self.ensure_one()
method = "_compute_rule_{}".format(self.amount_select)
return api.call_kw(self, method, [self.ids, localdict], {})
return api.call_kw(
self, method, [self.ids, localdict], {"context": self.env.context}
)

def _compute_rule_fix(self, localdict):
try:
Expand Down

0 comments on commit 410b33b

Please sign in to comment.