From b86e0a4392ed873caf4eb4a4072d3838384b583d Mon Sep 17 00:00:00 2001 From: Jos De Graeve Date: Mon, 23 Jun 2014 18:18:42 +0200 Subject: [PATCH] [FIX] Partner VAT Intra XML delaration: Vat number format correction The Partner VAT Intra XML delaration needs to have the VAT number in the format without the country code prefix. The current behaviour was to include the country code prefix in the report which causes an SQLException error on uploading the XML file to the Federal goverment's website. While the error is non-descriptive fixing the VAT number format fixes the error. --- addons/l10n_be/wizard/l10n_be_vat_intra.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/l10n_be/wizard/l10n_be_vat_intra.py b/addons/l10n_be/wizard/l10n_be_vat_intra.py index ff86a6ba21e..60cd0cb7cb3 100644 --- a/addons/l10n_be/wizard/l10n_be_vat_intra.py +++ b/addons/l10n_be/wizard/l10n_be_vat_intra.py @@ -224,7 +224,7 @@ class partner_vat_intra(osv.osv_memory): data_head = """ - %(company_vat)s + %(vatnum)s %(company_name)s %(street)s %(post_code)s