From 673aa36a705cd41e14ecf75733236e14ac6f6d57 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Thu, 5 May 2011 16:49:42 +0200 Subject: [PATCH] [FIX] l10n_be: adapted l10n_be_account_vat_declaration.py in order to stay compliant with old Chart of Tax Code bzr revid: qdp-launchpad@openerp.com-20110505144942-6yxcxzho08rtzupp --- addons/l10n_be/wizard/l10n_be_account_vat_declaration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 38a711f995b..30219ee5513 100644 --- a/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py +++ b/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py @@ -7,7 +7,7 @@ # Adapted by Noviat to # - enforce correct vat number # - support negative balance -# - support Noviat tax code scheme +# - assign amount of tax code 71-72 correclty to grid 71 or 72 # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -109,7 +109,7 @@ class l10n_be_vat_declaration(osv.osv_memory): #the tax code 91 can only be send for the declaration of December continue if item['code']: - if item['code'] == 'VI': + if item['code'] == '71-72': if item['sum_period'] >= 0: item['code'] = '71' else: