Commit e20ea402 authored by Santiago Apel's avatar Santiago Apel 💬
Browse files

[FIX] query parameter rule_total_max

parent a9b8ac9a
......@@ -501,7 +501,7 @@ class HRPayslip(models.Model):
date_from, date_to = self.get_rule_dates(int(months_back), date_to)
query_arguments = self._get_query_rule_arguments(
tuple(rule_code), date_from, date_to, *args, **kwargs
(rule_code, ), date_from, date_to, *args, **kwargs
)
self.env.cr.execute(query, query_arguments)
try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment