跳至内容
菜单
此问题已终结
2 回复
3371 查看

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.



形象
丢弃

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. 


编写者

@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.

编写者 最佳答案

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.

形象
丢弃
编写者

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.

编写者

Thank you, Chris.

Great solution, thanks!

最佳答案

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

I think that works if the product is set as MTO

形象
丢弃
编写者

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.

相关帖文 回复 查看 活动
2
5月 21
2661
0
10月 23
1293
2
4月 23
2749
2
10月 22
2947
0
3月 22
2317