summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2015-05-28 12:00:56 +0200
committerNicolas Lempereur <nle@odoo.com>2015-05-28 16:37:07 +0200
commit52aee9a8e79010fd1d527415d24d46a5c1595016 (patch)
tree102bfd7ef64bb4ec7c2fed181ff0a9aeaee3cbbf /addons/analytic_user_function
parent916525fbf3cec60f3bb8e365d58fe09850c5ab34 (diff)
[FIX] stock_landed_costs: splitting and decimals
When splitting landed costs against the picking line, the decimal precision was not taken into account. For example: with a landed cost of 5.01 split equally over two lines, the cost for each line is 2.505 which is rounded to 2.51 with a decimal precision of the fractional part of 2. Hence the total was wrongly of 5.02 (which is an issue when wanted to validate the landed costs). With this commit, the split landed costs are restrained to stay under the whole landed cost price. closes #6882 fixes #5568 opw-639503
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions