diff options
| author | Goffin Simon <sig@odoo.com> | 2020-08-06 14:17:11 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2020-08-19 07:21:43 +0000 |
| commit | 6b8d0432e2354ed50623386a2c1a052fdd809026 (patch) | |
| tree | d463877b29e1278f1e96343724507d71b59c7f48 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | a3ec3229938b122c66c4a3cc859b72726f4874a2 (diff) | |
[FIX] mrp: Wrong virtual_available on product.template with kit
Steps to reproduce:
- Let's consider a product.template TP with a kit
- Let's consider the variants V1, the only variant of TP with a kit
- The virtual_availalbe of V1 is 100 (smart button Forecasted in the form view)
Bug:
The virtual_available of TP was 0 instead of 100
The virtaul_available of a product.template must be the sum of virtual_available of all its
variants with kit
PS: This commit changes the available quantity of product_product_table_kit in demo data.
As this quantity was not equal to 0, the type of the product could not be changed.
opw:2297226
closes odoo/odoo#55707
X-original-commit: 4df4ad023b9dd24edf75e8993d1d31c73ce26bc0
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Co-authored-by: Florent de Labarre <florent.mirieu@gmail.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
