diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-10-28 14:47:32 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-29 08:15:42 +0000 |
| commit | baa243bb46e3aab3ee188e29152ff392881c348b (patch) | |
| tree | 854cc1eb96da41cb92e27df156bc5903583fbe5a /doc/reference/javascript_reference.rst | |
| parent | 54d846ab1c834add1fa7d588f97aa0fafe9e33b3 (diff) | |
[FIX] stock_account: value extra move MTO
- Create 2 products A & B in MTO, B with 'Buy' route + supplier
- Create a BOM for A: 1 Unit of B
- Create a MO for 1 Unit of A
- In the PO created, change the quantity from 1 to 2, receive the
products
- In the MO, produce the unit and use 2 units of B
The extra move of B is not valued.
This is because the list of move to value is created before calling
`super()`. Indeed, the extra move is created in `super()`, and
moreover since this extra move is MTS (not MTO), the move line is
properly linked to the right move (unlike in #39121).
We add the extra move to the list of moves to value.
opw-2087592
closes odoo/odoo#39484
X-original-commit: 00737ffeb8604f1713b559fbd3061b572435b413
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
