Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3261 Tampilan

Hello Community!

I need help configuring the following route.

Use case:

  • Warehouse1 is where products are assembled.
  • Warehouse2 is where products are sold.

A salesperson enters an order for product x and select Warehouse1 as the warehouse, the customer address is "pickup from Warehouse2".

Ideally Odoo would create the following pickings:

  • warehouse2 stock to virtual location/customer 
  • warehouse1 stock to warehouse2 stock (inter-warehouse transfer)

The way our current route is defined, Odoo creates the following picking:

  • warehouse1 stock to virtual location/customer

The delivery split mentions "pickup from Warehouse2" so our storeperson knows to ship the product to Warehouse2.
This completes the delivery as far as Odoo is concerned.

Yet we're missing a picking from WH2 to customer.


Any recommendation on how to configure this (even with some custom code) would be much appreciated.

Thanks!

Raf 



Avatar
Buang
Jawaban Terbai

You can modify the existing route in Odoo to add an additional step that creates a second picking from Warehouse2 to the customer. To do this, you can follow these steps:

  1. Create a new Stock Location for Warehouse2, for example "Warehouse2 Stock".

  2. Modify the existing route to include the new Warehouse2 Stock location. The route should now have the following steps:

    a. Warehouse1 Stock to Warehouse2 Stock (Inter-warehouse transfer) b. Warehouse2 Stock to Virtual Location/Customer

  3. Create a new Delivery Method for Warehouse2 and configure it to use the modified route.

  4. Update the Sales Order in question to use the new Delivery Method for Warehouse2.

This should create two pickings, one from Warehouse1 to Warehouse2 and another from Warehouse2 to the customer, as you desired.

Note: If you need custom code to implement this, it can be done with a custom module that extends the existing delivery methods in Odoo.

Avatar
Buang

I think by "Delivery Method", you meant "Operation Type" for Delivery.

Penulis

Thanks for your post!
Can you please expand on step 4?
On a sales order I cannot see where to select an operation type/delivery method.

If I understand correctly , the operation type is defined on the rule which is defined on the route.

That is correct, you can only select a route from sale order line or a delivery WH for a SO.

Since you have 2 WH, Odoo creates 2 delivery routes by default, WH1 to customer and WH2 to customer.

1. If your need is to always deliver from WH2, you should archive WH1 to customer route and not have the need to select a WH on SO
2. Modify WH2 to customer route to include the 2nd rule, ie WH1 to WH2.

Penulis

Thanks for all the advice. I'll experiment further!

Post Terkait Replies Tampilan Aktivitas
0
Jul 24
6
1
Agu 25
516
0
Jun 24
1854
1
Apr 24
3563
0
Mar 24
1980