diff options
| author | Jorge Pinna Puissant <jpp@odoo.com> | 2019-01-08 10:48:20 +0000 |
|---|---|---|
| committer | Jorge Pinna Puissant <jpp@odoo.com> | 2019-01-08 13:13:36 +0000 |
| commit | b131658966a347ec0058b713610e123347799cd7 (patch) | |
| tree | 7860c180f772cf4b4bf5f27f4a770befce2dd749 /setup/package.dfsrc | |
| parent | d4024a713c5b1e5e9b65c9fd663d5feb511ae5b6 (diff) | |
[FIX] account: error in Base amount tax
opw-1917605
Before this commit, when accounting is set to global rounding, the base
amount per tax is not correctly calculated.
Now, the Base amount per tax is calculated adding the rounded lines.
To test this issue, you need to set to global rounding and create a
customer invoice with the following lines :
line 1 = Qty:40; unit price:2.27; tax:15%; discount: 10%
line 2 = Qty:21; unit price:2.77; tax:15%; discount: 10%
line 3 = Qty:21; unit price:2.77; tax:15%; discount: 10%
When the invoce is printed, you would notice that the amount is 186.43
and it should be 186.42.
closes odoo/odoo#30021
Diffstat (limited to 'setup/package.dfsrc')
0 files changed, 0 insertions, 0 deletions
