diff options
| author | Josse Colpaert <jco@odoo.com> | 2018-05-28 13:35:22 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-05-29 08:24:02 +0200 |
| commit | eabcb9ff1ae6a723fb47e340ac83a65f4f2f2400 (patch) | |
| tree | 63fed22903b962d80002c8a0e708501c0a110333 /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | 63401868a5bf54b8308f67fd479462bfadd4bc6e (diff) | |
[FIX] stock_account: setting standard price with multiple real-price outs with negative quants fixes #24925
Somehow the function treated multiple records with
the new api translation from 9 to 10.
Steps to reproduce:
This applies to delivery orders and manufacturing orders. As an example:
Create an MO with 2 products on the BOM
Both products must have real time costing with FIFO
The first product on the bom must not be available
For the second product on the BOM, the standard_price must be different from the cost of the next quant to be consumed
Complete the MO, letting the first product result in a negative quant
Current behavior:
The standard_price of the second product on the BOM does not get updated.
Behavior after this fix:
The standard_price of the second product on the BOM gets updated.
Thanks to matt454357.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
