mirror of
https://bitbucket.org/presik/trytonpsk-staff_payroll_co.git
synced 2023-12-14 06:42:56 +01:00
minor fix
This commit is contained in:
parent
0ef20a7faa
commit
bcab77f1e1
1
.~lock.income_withholdings.ods#
Normal file
1
.~lock.income_withholdings.ods#
Normal file
|
@ -0,0 +1 @@
|
|||
,developer,developer-UX430UA,10.08.2020 11:37,file:///home/developer/.config/libreoffice/4;
|
|
@ -1626,6 +1626,8 @@ class Exo2276Report(Report):
|
|||
domain_ = cls.get_domain_payroll(data)
|
||||
payrolls = Payroll.search([domain_])
|
||||
new_objects = {}
|
||||
start_period = data['start_period']
|
||||
end_period = data['end_period']
|
||||
|
||||
|
||||
index = 0
|
||||
|
@ -1642,7 +1644,7 @@ class Exo2276Report(Report):
|
|||
'first_family_name': party.first_family_name,
|
||||
'second_family_name':party.second_family_name,
|
||||
'first_name': party.first_name,
|
||||
'second_name':party.second_name,
|
||||
'second_name': party.second_name,
|
||||
'addresses': party.addresses[0].street,
|
||||
'department_code': party.department_code,
|
||||
'city_code': party.city_code,
|
||||
|
@ -1695,6 +1697,8 @@ class Exo2276Report(Report):
|
|||
new_objects[party.id]['cesanpag'] = _cesanpag
|
||||
|
||||
report_context['records'] = new_objects.values()
|
||||
report_context['end_period'] = end_period
|
||||
report_context['start_period'] = start_period
|
||||
report_context['today'] = date.today()
|
||||
report_context['company'] = user.company
|
||||
return report_context
|
||||
|
|
Loading…
Reference in a new issue