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 bd7215e9d41..9a6aae3891b 100644 --- a/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py +++ b/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py @@ -80,6 +80,7 @@ class l10n_be_vat_declaration(osv.osv_memory): if not vat_no: raise osv.except_osv(_('Data Insufficient'), _('No VAT Number Associated with Main Company!')) vat_no = vat_no.replace(' ','').upper() + vat = vat_no[2:] tax_code_ids = obj_tax_code.search(cr, uid, [], context=context) ctx = context.copy() @@ -103,7 +104,7 @@ class l10n_be_vat_declaration(osv.osv_memory): data_of_file +='\n\t' data_of_file +='\n\t' data_of_file +='\n\t\t' - data_of_file +='\n\t\t\n\t\t\t'+str(vat_no)+'' + data_of_file +='\n\t\t\n\t\t\t'+str(vat)+'' data_of_file +='\n\t\t\t'+obj_company.name+'' data_of_file +='\n\t\t\t'+address+'' data_of_file +='\n\t\t\t'+post_code+''