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

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć

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

Powiązane posty Odpowiedzi Widoki Czynność
2
lip 22
3188
2
maj 25
2229
3
gru 24
6446
1
lip 24
3155
1
cze 24
2191