Skip to Content
Menú
This question has been flagged
2 Respostes
2169 Vistes

Hello!

I'm working with v17 although we haven't migrated to Odoo yet.

Many of our products can be dropshipped, and this is normally our preferred route, but sometimes we choose to do a regular purchase of the product(s) and bring them into our warehouse for stock. Our current ERP allows us to do this at the SO line by selecting the route.

In Odoo, I setup a basic product with Buy and Dropship routes selected as well as a vendor on the Purchase tab. I've done little else to the product except to set the name, price, Internal Reference, etc.

When I add this product to a Sales Order, I'm shown only two options in the Route field: MTO, Dropship. (I do not have the MTO route selected on the product's Inventory tab.)

If I leave the Route field blank, a DS PO is created. If I select Dropship, a DS PO is created. If I select MTO (for fun), a DS PO is created.

I've also tried adding a Reordering Rule with Route:Buy and Vendor specified.

Nothing I've done seems to override the Dropship route.

How do I tell Odoo to use the regular Buy route from the SO line?

My expectation is that I'll be able to put this SO line through the regular procurement process (as if the Dropship route box were not selected on the Inventory tab).

Thank you!


Update

I've ​made changes based on Chris' reply so here are some screenshots to demonstrate what I'm doing.



Avatar
Descartar

Is it possible to adjust a setting to achieve something similar? I’d like to have the ability to assign the vendor at the order line level, rather than being restricted to setting it at the product level. This way, the selected vendor would automatically apply to the drop ship purchase order - particularly useful for items that can be sourced from multiple vendors. 


Autor

@David Lynn. Not out of the box. You'd need a customization to be able to do it at the order line stage. You can choose your vendor on the Replenishment page.

Autor Best Answer

I had a thought based on Chris' reply and it worked.

Instead of trying to override the Dropship route, I should try to override the Buy route. And that worked.

I disabled the Dropship route on the Inventory tab and created an SO without setting any route on the SO line. I got a regular PO and expected Delivery documents. Then I tried again but this time setting the Route to Dropship. This resulted in a Dropship PO. Success! Finally!

It appears the Dropship route has a higher priority than the Buy route which is why it takes precedence over Buy.

Avatar
Descartar
Autor

You can't select your own post as an answer? Isn't the poster the one best suited to decide which response actually provides an answer?

Good that you figured it out. I marked it as the Best Answer / Solution. You can't mark your own answer as the best solution.

Autor

Thank you, Chris.

Great solution, thanks!

Best Answer

Did you set the Buy rule to be selectable on Sales Order lines?

I think that works if the product is set as MTO

Avatar
Descartar
Autor

Thank you for the reply, Chris. I hadn't done that but, unfortunately, it didn't change anything.

I added the MTO route and modified the Buy route as described. I then created a new SO and chose the Buy route on the line but a DS PO was still made.

I'm going to try to ammend my original post with some screenshots.

Related Posts Respostes Vistes Activitat
2
de maig 21
2086
0
d’oct. 23
874
2
d’abr. 23
2067
2
d’oct. 22
2422
0
de març 22
1874