Commit 1c799c98 authored by Santiago Apel's avatar Santiago Apel 💬
Browse files

[FIX] total_rule_max input parameter

parent 2a07559b
......@@ -501,8 +501,9 @@ class HRPayslip(models.Model):
date_from, date_to = self.get_rule_dates(int(months_back), date_to)
query_arguments = self._get_query_rule_arguments(
(rule_code, ), date_from, date_to, *args, **kwargs
rule_code, date_from, date_to, *args, **kwargs
), query_arguments)
result =[0] or 0
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