Skip to content

Commit

Permalink
[FIX] Create payroll item names in user interface language.
Browse files Browse the repository at this point in the history
  • Loading branch information
kasado authored and norlinhenrik committed May 28, 2024
1 parent 2dbfc8f commit b2e4bb9
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], {"context": self.env.context})
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 b2e4bb9

Please sign in to comment.