Removing purchase order lines does not cancel procurement

Removing purchase order lines does not cancel procurements associated with them and thus making the system to think those products will arrive in the future.

Question information

Language:
English Edit question
Status:
Expired
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Amit Parik (amit-parik) said :
#1

Hello Guewen,

I think you are also misunderstand something, because the purchase order is created from procurement.
Not the procurement is created from purchase order.

Here let me explain whole thing,

The purchase order is related with our procurement, there is two possibility.

* When we doesn't have enough stock (Our product is make to stock and minimum stock rule is define) .
* When we doesn't maintain the stock (Our product is make to order).

Now, I think you have specified the second option which is related to make to order.

Let me describe this scenario.

I have created a one sale order for one product with 10 qty which procure method is make to order.
I have confirm my sale order which is created a procurement order when I run procurement it will creates a PO.

Now , I going to delivery order and check the availably of this product. But this product doesn't available because still I didn't receive the incoming shipment.

So If you have deleted PO line or decrees the product qty then it will never allow the delivery.

Hope this will help you.

Thank you!

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) said :
#3

Hi Amit,

Sorry, I missed your answer.

I was specifically speaking about purchase orders in a make to stock context and not as make to order.

The purchase order has been generated because we do not have enough stock according to our minimum stock rules.
But I still must have the possibility to cancel the generated need if I consider that I won't need my product anymore over a period for example.

If I'm in a situation where my product is the only product in the purchase order, I can delete the purchase order -> in my memory, it cancels the procurement, is that right?

Now, I have 2 products in my purchase order and I want to cancel only one of them -> I have to unlink the po line, search for the procurement and manually unlink / cancel it.

It seems to be a lack if I can do that for a whole purchase order but not for a po line.

Otherwise, if it is assumed that the unlink operation on a po line should not cancel any procurement, so I would think that the unlink of a purchase order should not cancel any procurement neither.

I think that the actual behavior is not consistent ?

What do you think ?

Thanks
Guewen