Merge lp:~openerp-dev/openobject-server/6.0-opw-17993-vro into lp:openobject-server/6.0
Proposed by
Valencia Rodrigues (OpenERP)
Status: | Merged |
---|---|
Merged at revision: | 3521 |
Proposed branch: | lp:~openerp-dev/openobject-server/6.0-opw-17993-vro |
Merge into: | lp:openobject-server/6.0 |
Diff against target: |
32 lines (+11/-1) 1 file modified
bin/addons/base/res/res_currency.py (+11/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-server/6.0-opw-17993-vro |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raphael Collet (OpenERP) | Pending | ||
Review via email: mp+78553@code.launchpad.net |
Description of the change
Hello,
If the "Rounding factor" (rounding) of a currency is set to 0.0, it will nullify the value of rounded amounts.
To regenerate the issue (Case#17993):
1. Create a new currency with rounding left as 0.0
2. Use this currency in an invoice
3. Add invoice lines and observe that the Sub-total field has value 0.0 because of rounding of the currency.
This fixes the issue.
This fix also sets the rounding default to 0.01
Thanks
To post a comment you must log in.