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

I have a product that I purchase from an outside Vendor and I have this configured as Replenish on Order (MTO) and Buy.

I get a draft Purchase Order created for this product each time it is sold.

However, if I don't confirm each Purchase Order before the next Sales Order is confirmed, rather than making a new draft Purchase Order, Odoo will add the product on the draft that is already there.

If I sell the product on three Sales Orders and don't confirm the Purchase Order for the first Sales Order, the product from the next two Sales Orders will be added to the first Purchase Order instead of making two new ones.

Can I change this behavior?

Avatar
Discard
Best Answer

Make sure you have Multi-Step Routes turned on.


Edit the Buy Route:

The default setting for Propagation of Procurement Group is Leave Empty.  Change it to Propagate:


You will now get a new draft Purchase Order each time, instead of Odoo leveraging an unconfirmed Purchase Order by adding any subsequent products onto it.

Avatar
Discard

Thank you Ray!

I wanted to point out that I implemented this on my Odoo 17 EE setup and while it worked, there was an issue that it introduced.

For some reason, when a PO is created from a Sale Order using routes, the receipt for the PO was showing in the deliveries area on the SO. In the portal area, customers could see this delivery as well, it showed as if it was a return. It also allowed customers to view the receipt document which exposed our PO# and vendor.

If anyone else uses this way of preventing PO from merging, I would test to make sure this doesn't happen on your environment.

I ended up using this OCA module instead, and it fixed the issue: https://odoo-community.org/shop/procurement-purchase-no-grouping-1900#attr=943127

Related Posts Replies Views Activity
2
Jul 22
2486
3
Dec 24
4321
1
Jul 24
1788
1
Jun 24
1276
2
Jun 24
1831