Community mailing list archives

Re: Make to order procurement reference on delivery order

OpenERP Master
- 11/24/2014 02:34:11
I figured out a solution to my problem.

When a sales order is confirmed and the moves are created for the delivery, there is a function in stock/ action_confirm, will check if any of the move is make_to_order, if so, create a new procurement which is later attached to a purchase order line.

I can create a new field called mo_sale_id and put in the order id. This way, on a receipt view or document, I can display exactly which order the item being received goes to.

On Sun, Nov 23, 2014 at 4:11 PM, OpenERP Master <> wrote:
I see significant improvement in the procurement functionality in v8. Very pleased with what im seeing so far.

An issue im struggling with:

My client sells items that are special ordered (mto). They never stock them. When a customer orders them the workflow is as follows

Sale -> Purchase -> Receive Purchase -> Delivery goods.

This functionality works as expected, however at any given time they may have many special order items to the same supplier at the same time.

A case would be 3-4 orders for the same item. When they receive the special order items, they want to know exactly what sale order the goods are being received for. When the goods are received it makes the linked delivery order available, but there is no way for them to see this. There is no reference on the purchase order, or receipt.

The only way I see so far in the data model is to go to the procurement group name, or to try and match the procurement order lines by the group and then put a foreign key reference on the stock move.

It is important for them to know when they receive special order items, for what order they belong to.