Skip to Content
मेन्यू
This question has been flagged
2 Replies
4834 Views

hello I was trying to make transfer of some products from one location to another one but when I try validate, delete or cancel I am getting this message eror: It is not possible to unreserve more products of [Brutarie] Paine mica alba 400g than you have in stock. someone can help me, please?

Avatar
Discard
Best Answer

Hi,

Enable debug mode and navigate to server action menu under settings and see if there is a server action named:  Correct inconsistencies for reservation

If found, click on Run button, which will solve the issue, if server action is not found, pull the latest source code of corresponding odoo version and upgrade the stock module.


More info:  https://github.com/odoo/odoo/commit/e0e63be484b0ebddc7d498a4a13b2ba7a7f1a1f4#diff-c0d27a4adc8bbd305125f4e2729e30fe444fdd4e5ca0f96f2dd7f1fab19fe80eR17


Thanks

Avatar
Discard
Best Answer

Might this link will helpful to you as this is concept of stock reservation at the moment of low stock. Reference Link

Avatar
Discard
Author

I can not find the point 7.copy/paste the fix underneath the pre-existing code

on : https://gist.github.com/amoyaux/20d50f3368ef2f552071f718dc65cad4

could you send me please if you have one

No I don't have but you can check it from here : stock/models/stock_quant.py in which _update_reserved_quantity method contains this logic. You can modify it as per your need.