[FIX]l10n_be: Intracom VAT Declaration -> mask amountsum wrong (Case: Ref 590279)

bzr revid: skh@tinyerp.com-20130322100931-k09u7hyucfmgdco6
This commit is contained in:
Peter Langenberg 2013-03-22 15:39:31 +05:30 committed by Somesh Khare (OpenERP)
parent a02f54e702
commit 5e5345791c
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ class partner_vat_intra(osv.osv_memory):
'intra_code': row['intra_code'],
'code': intra_code})
xmldict.update({'dnum': dnum, 'clientnbr': str(seq), 'amountsum': amount_sum, 'partner_wo_vat': p_count})
xmldict.update({'dnum': dnum, 'clientnbr': str(seq), 'amountsum': '%.2f' % amount_sum, 'partner_wo_vat': p_count})
return xmldict
def create_xml(self, cursor, user, ids, context=None):