l10n_be_partner_vat_listing declaration amount should be <ns2:VATAmount>%(vat_amount).2f</ns2:VATAmount> .2f
Bug #1241008 reported by
Peter Langenberg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Incomplete
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
for Belgium Authorities the amount should have a mask .2f
so when the amount is 25 euro, it shoud be 25.00 in the xml file.
Related branches
lp:~openerp-dev/openobject-addons/7.0-bug-1241008-dhs
- Martin Trigaux (OpenERP) (community): Needs Information
- Naresh(OpenERP): Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedl10n_be/wizard/l10n_be_partner_vat_listing.py (+1/-1)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-addons: | |
assignee: | OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
To post a comment you must log in.
Hello Peter,
I don't get how you have the issue. The data vat_amount comes from the function _get_datas which does force two digits
'vat_amount': '%.2f' %line[' vat_amount' ],
I have tested the generation of the report on our side, the xml has 2 digits, no issue here. We had this issue for the other reports of l10n_be (hopefully fixed) but I don't think we have it for this one.
I will set as incomplete if you can give me more info about this, otherwise we can close the bug