summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-05-12 09:26:00 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-05-18 11:13:11 +0000
commit44214135670de40d987768a545f9d7bece618699 (patch)
tree3fdc10debfd50d95bb73fc3d3ce9c8edca7abae2 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parent7f12fe51c2a9c26951be10486f908852dace5845 (diff)
[FIX] stock: rollback to avoid quantity update on error
- Install Inventory, base_automation - Create an automated action on stock.quant, trigger on Update, code raise Warning('My Warning') - Create a transfer on a stockable product with e.g. 10 quantity on hand e.g. Initial demand is 9 ⁻ Mark as todo and Check Availability: on the transfer the reserved quantity is not updated, but on the stock.quant it is updated to 9. You can check availability again and nothing will happen on the transfer, the stock.quant "Reserved" will be updated each time though. You can update the quantity on hand to 0, and you will get products with Reserved Quantity when Quantity in Hand is 0, and no MO/Transfer or any other activity holding the reservation. Adding the rollback when exception is raised opw-2245109 closes odoo/odoo#51429 X-original-commit: 3f9ac9d3bb507eafe3c074ae817641b9d9dc1c87 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions