print contador

This commit is contained in:
Camilo Sarmiento 2020-05-23 09:02:35 -05:00
parent 343747621a
commit 11d6f2f823
1 changed files with 3 additions and 0 deletions

View File

@ -806,7 +806,10 @@ class PayrollGroup(Wizard):
wages = [(wage_type, None) for wage_type in self.start.wage_types]
if payroll_to_create:
payrolls = Payroll.create(payroll_to_create)
cont = 0
for payroll in payrolls:
cont += 1
print(cont)
payroll.on_change_period()
payroll.set_preliquidation({})
if wages: