Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3869 Widoki

I'm running V15 Community in a docker container on an Ubuntu server.

I have the subject line error coming up on a select few items. I see it when I attempt to complete manufacturing orders and occasionally when I try to make sales orders that contain the same items that give me issues when manufacturing. I tried the solution where you create a server action called "Fix Unreserved Quantity" . It appeared to work once a while ago when I first saw this error, but it is no longer solving my issue. I have tried updating my apps and restarting the Odoo server. Does anyone have any advice on how I can fix this (permanently)?

I also attempted to port the script "Correct inconsistencies for reservation" that is found in V14, but it did not solve my issue either. What should be my next step?

Awatar
Odrzuć
Autor

I should mention that I cannot cancel these specific manufacturing orders. Creating new orders seems to work without issue, but I cannot clean up a handful of orders.

Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

The way i did is in the fallowing video  and it worked .. 

you will endup having a component not consumed, but you can at least mark as done the MO
https://screencast-o-matic.com/watch/c3jZlDVTONK

I believe is the easiest way to fix it


Awatar
Odrzuć
Autor

This did something slightly different than what I was hoping, but it was quite easy to adapt it to do what I needed. Thank you so much for this!