diff options
| author | Arnold Moyaux <arm@odoo.com> | 2018-08-22 11:39:27 +0200 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2018-08-22 15:44:54 +0200 |
| commit | be4651cda39b91256bab190c671a21e8d458d7f4 (patch) | |
| tree | 36221973241c0bdbd99e6fafada00418db0c85f9 /addons/web/static/src | |
| parent | fbfb91799eecc5297ab6c86b657bf213343f6cd8 (diff) | |
[FIX] stock: compare quantities with different uom
Usecase to reproduce:
- Create a receipt for 1 dozen.
- Mark as todo
- Unlock and update initial demand to 3 dozen.
The reserved quantity on move line is 36 dozen.
It happens because reserved_availability and product_qty are
compare. However reserved_availability is in move UoM and product_qty
is in move's product UoM.
This commit clean the code in order to compare field that use the same
UoM.
Close #26504
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
