diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-08-07 15:17:55 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-08-07 15:25:07 +0200 |
| commit | 6ebbbdbae98ece82deb48a14d54cf53f3988e4fa (patch) | |
| tree | 22acc58ff7ed642ee85c25ffb262298ffa69c317 /addons/knowledge | |
| parent | 5a53d7d8b9e02e9bad2513e493d1f44c1a13f797 (diff) | |
[FIX] stock: no uom rounding for DO availability & reservation
Instead of rounding the availability and reversation
of a delivery order line to the current UOM rounding,
we round to the generic Product of measure precision.
This is to have the real availability, even for a unit
of measure that normally cannot be split.
For instance, for a product for which the default
uom is 'Unit(s)', but for a specific delivery order
you deliver 1 'Dozens' of this product,
if you have 6 Units available, it will now display
that 0.500 'Dozens' is available and reserved, which
is what is actually happening.
Before, it displayed that 1 dozens was available, even
if only 6 units were available, on the 12 needed.
opw-643312
Diffstat (limited to 'addons/knowledge')
0 files changed, 0 insertions, 0 deletions
