diff options
| author | Goffin Simon <sig@odoo.com> | 2020-08-06 14:17:11 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2020-09-08 09:02:53 +0000 |
| commit | 74b762da63e159b1965428b2bcb972293c4efea6 (patch) | |
| tree | 31cba6287e77bd20407889a8a32acb0532e41510 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 1d54564d280d23b506e3764294318a359c0ad681 (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#57177
X-original-commit: 715c8575425fe609494235f0da4f1630f7744610
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
