diff --git a/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py b/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py index a5e664c833a..155e40b256b 100644 --- a/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py +++ b/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py @@ -106,6 +106,9 @@ class l10n_be_vat_declaration(osv.osv_memory): data_of_file +='\n\t\t\n\t\t\t' for item in tax_info: + if item['code'] == '91' and ending_month != 12: + #the tax code 91 can only be send for the declaration of December + continue if item['code']: if item['code'] == '71-72': item['code']='71'