diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-07-17 08:52:21 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-07-28 14:40:25 +0000 |
| commit | 97cdcc05f17eb9df0e6ca7896ace6fbf6450b356 (patch) | |
| tree | 0d6e72fe344171368d4363793bbf3f136ddb7385 /addons/web/static/src/js/views/basic/basic_view.js | |
| parent | 544e22f4f23bfe3714062fb374fe8683d8b9c720 (diff) | |
[FIX] stock,sale_mrp: Inventory adjustment not possible
1) Create a stockable product > Add some quantities on hand
2) Edit this product > set it as a consumable or service
3) Create an inventory adjustment on all products
Error will raise "Something went wrong! You can only adjust storable products.
This occur because when switching product type the available quantity
was not cleared, so it will get in the next inventory, but only storable
products can have inventory. So the product should to have no
quantity left before switching type
opw-2300478
closes odoo/odoo#55062
X-original-commit: be17e31307070498ba9ac7dc594443730caa7404
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions
