[IMP] l10n_be, l10n_be_account_vat_declaration.py: added support of new chart of tax made by Noviat

bzr revid: qdp-launchpad@openerp.com-20110506084628-o9famw3qxpnfcvis
This commit is contained in:
Noviat
2011-05-06 10:46:28 +02:00
committed by Quentin (OpenERP)
parent 9b83ffd262
commit 9091e6c87e
@@ -8,6 +8,7 @@
# - enforce correct vat number
# - support negative balance
# - assign amount of tax code 71-72 correclty to grid 71 or 72
# - support Noviat tax code scheme
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
@@ -110,7 +111,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'] == '71-72':
if item['code'] == 'VI':
if item['sum_period'] >= 0:
item['code'] = '71'
else: