Merge lp:~akretion-team/openobject-addons/trunk-addons-tax-calculation-decimal-precision into lp:openobject-addons
Status: | Rejected |
---|---|
Rejected by: | qdp (OpenERP) |
Proposed branch: | lp:~akretion-team/openobject-addons/trunk-addons-tax-calculation-decimal-precision |
Merge into: | lp:openobject-addons |
Diff against target: |
60 lines (+11/-8) 2 files modified
account/account.py (+7/-8) product/product_data.xml (+4/-0) |
To merge this branch: | bzr merge lp:~akretion-team/openobject-addons/trunk-addons-tax-calculation-decimal-precision |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nhomar - Vauxoo (community) | amazing | Disapprove | |
OpenERP Core Team | Pending | ||
Review via email: mp+103579@code.launchpad.net |
Description of the change
This merge proposal aims at fixing https:/
Here is a small summary :
- by default, OpenERP compute taxes with the method "sum of rounded line values"
- with this merge proposal, it continues to compute taxes with this method by default, by you can now change to the method "rounded sum of line values" by simply changing the new "Tax calculation" decimal precision parameter from 2 (default value) to 5.
Unmerged revisions
- 6762. By Alexis de Lattre
-
Small code optimisations.
- 6761. By Alexis de Lattre
-
Add a new 'Tax calculation' decimal precision :
- by default, it has the same value as the 'Account' decimal precision, so it will continue to have the same behavior by default
- for those who want to have their taxes computed as "rounded sum of line values" instead of the default "sum of rounded line values", they just have to change the value of the 'Tax calculation' decimal precision from 2 to 5
Tottaly agreed with this improvement.
We just made this change for V6 already in an external module.
BTW, it should be great if we have a configuration parameter to have both tax computation parameter you mention above -IT will be next history -