Commit 38f1e0e0 authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_payroll_10n_fr: declare taxes only for the DSN report of January

parent e53f59b0
......@@ -201,7 +201,7 @@ elif len(paysheet_list):
target=aggregated_social_contribution_dict[ctp_code]))
# Annual Taxes
if organisation == establishment:
if organisation == establishment and declared_month == 12:
tax_list = organisation.Organisation_getAnnualTaxDictList(context)
for tax in tax_list:
dsn_file.append(getDSNBlockDict(block_id='S21.G00.44', target=establishment, **tax))
......
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