← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 351100] Re: [5.0] BE VAT XML export unexpected number rounding

 

Hello,
This issue has now been fixed in the development trunk of OpenERP.
Our policy is to keep the changes applied on stable branches to a minimum, in order to limit the regression risks for customers that are in production. This means that bugs reported on Launchpad are fixed in the trunk branch only by default, even if they were reported against other stable versions.
We stand of course ready to backport the change to stable releases if it has an impact on any customer. In this case please report it to our maintenance team via the OpenERP Publisher's Warranty. They will quickly help solve the issue and backport the fix if needed.
Thank you for your understanding!


** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: In Progress => Fix Released

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

-- 
[5.0] BE VAT XML export unexpected number rounding
https://bugs.launchpad.net/bugs/351100
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Fix Released

Bug description:
The methode used for converting the number values results in rounding errors

For example int(4609.69*100) gives you 460968
Because int() trunks the value a simple int(round(value*100,2)) seems to work ok.