Skip to Content
Menu
This question has been flagged
1 Reply
2323 Views

Odoo 14 CE, but I think this happens on all 14+ versions.

Acording to odoo's official documentation:

" You can set a minimum quantity your stock should always have. Once set, if your stock goes below the minimum quantity, and if you selected the Buy route, a request for quotation is automatically generated to reach that minimum quantity, plus any additional quantity needed to fill in a sales order for example. "

https://www.odoo.com/documentation/master/applications/inventory_and_mrp/purchase/products/reordering.html


Yet this is not true, take a look at the following example.

Setup:

Product A -> Can be bought and sold. RR 0/0/1 (in theory is the same as MTO as of Odoo14+). Buy as only active route. Current stock 0.

Product B -> Can be bought and sold. RR 0/0/1 (in theory is the same as MTO as of Odoo14+). Manufacture as only active route. Bom: 1 unit of product A. Current stock 0.


- I sold 5 Product A units, so odoo creates a RFQ with 5 units of Product A. That is the expected behavior.

- I sold 5 Product B units, so odoo creates a Manufacturing order that needs 5 units of Product A, but does not create any buy or RFQ order with Product A, so the Manufacturing order can never be complited. If you take a look at the expected (forecasted) number of units of each product you will see: For Product A=-5, for Product B=0. This is not the expected behavior, as the expected one would be the creation of a RFQ with 5 units of Product A.


I know I can use MTO, but then i can't (for example) buy product A in bundles of 15 (which in this senario, if everything worked would be as simple as changing the Reordering Rules to 0/0/15.

Any way to solve this bug?

Avatar
Discard
Best Answer

1. Make sure the Reordering Rule "Trigger" field is set to Automatic. If it's "Manual" the suggested Replenishment will only show in the Inventory app's>Operations>Replenishment view for you to manually act upon.

2. Assuming the Trigger is set to Auto: go to Inventory>Operations>Run Scheduler. This will force Odoo to look at all the most up-to-date Supply and Demand info. This scheduler runs at certain intervals throughout the day, but if you're testing things quickly, you may need to run it manually.


EDIT:

3. You might also check that Product A has a Vendor defined under the "Purchase" tab on the Product form. I assume it does since your first reordering test worked.

4. Compare the Scheduled Date of the Manufacturing Order for Product B to the Vendor Lead Time for Product A. If the Product B MO Scheduled date is 10 days in the future, and the Product A Vendor Lead Time is 5 days, Odoo won't trigger the creation of the RFQ yet, because it would show up "too early". Odoo's Replenishment works on a "just in time" basis, meaning it won't trigger Replenishment until the latest possible date based on need date vs lead time.

Avatar
Discard
Author

Thanks for answering:

1. Yes, they are on AUTOMATIC.

2. Running the Scheduler ONCE does not trigger the PO or RFQ for these products, but unfortunately I can't no longer test if running it several times does the trick, but either way I would expect it to be an automatic refill, since that is what the Reordering Rules are for.

Author

3. Yes, vendor is defined.
4. Never considered that... I will have to take a closer look on that one... I find it strange tho as I have not modified any of those values and you would think that if you don't change them they would all be 1 day, and thus activat the RR.

Will defenetly have a look, thanks for your time.

Related Posts Replies Views Activity
2
Mar 22
2350
1
Aug 21
4770
2
Feb 25
6174
1
Sep 22
1893
2
Jul 25
3287