diff options
| author | William Henrotin <whe@odoo.com> | 2020-02-26 10:04:13 +0000 |
|---|---|---|
| committer | William Henrotin <whe@odoo.com> | 2020-02-28 14:51:10 +0000 |
| commit | 0d737343259eab8595e61005400eb315a339ca20 (patch) | |
| tree | 7612466d1f1175ebe142568e62c9afbe49759bd2 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 89ddd249269b5075a7365e1ce9bc0022d9027061 (diff) | |
[FIX] mrp: set new initial demand on byproduct
Commit a4c0994 uses variable `qty` as input parameter but override it
at each loop iteration. The original value of `qty` is lost after the
the first pass and so give wrong results for all next iterations.
This commit uses another name to never lose the given value.
closes odoo/odoo#46587
X-original-commit: e1c30bceba6d47d8e087e540f995a02086fa6283
Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
