diff options
| author | Pierre Masereel <pim@odoo.com> | 2017-11-29 16:29:57 +0100 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2017-12-12 13:34:06 +0100 |
| commit | 96c3001f0eed0de53b8f5a11a371767a5d25337d (patch) | |
| tree | ed830287ab7b11a84e6be59a9c3589e75a87100e /doc/python3.rst | |
| parent | b62973e9013cd0dba3a542e82185f252c2783144 (diff) | |
[FIX] delivery: compute package weight
The package weight is computed by summing all move lines related to it,
which is wrong, because if you have a package that is in two pickings,
its weight will two times bigger than the real weight.
To fix this, we will compute the weight based on the quants in the
package, except if we are opening the package from a pickin, it's weight
will be the sum of move lines of the package that are in the current
picking. This allow user to see the weight of a package after a put in
pack when there are not yet any quants in the package
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
