From c88f14efdf97890412e34dd5f7e0b385b094cbe8 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Wed, 8 Feb 2012 12:14:15 +0100 Subject: [PATCH] [IMP] l10n_be: escape special char in phone when submitting vat declaration through xml bzr revid: qdp-launchpad@openerp.com-20120208111415-u0qbv5s7yvogfokc --- addons/l10n_be/wizard/l10n_be_account_vat_declaration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 55726fbfd25..4446ca6cb6e 100644 --- a/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py +++ b/addons/l10n_be/wizard/l10n_be_account_vat_declaration.py @@ -125,7 +125,7 @@ class l10n_be_vat_declaration(osv.osv_memory): 'city': city, 'country_code': country_code, 'email': email, - 'phone': phone.replace('.','').replace('/',''), + 'phone': phone.replace('.','').replace('/','').replace('(','').replace(')','').replace(' ',''), 'send_ref': send_ref, 'quarter': quarter, 'month': starting_month,