Skip to Content
Menu
This question has been flagged
3 Replies
3735 Views

Odoo v13

What is the Studio path to report the Sales Order Customer name onto the Manufacturing Order? 

I have found many solutions that suggest making it as such:

Product>Stock Move and so on however using any mapping through the stock move produces the Customer name of the first order with the product, not the current Sales Order customer to which the Manufacturing order is applicable. 

Any other suggestions?

Avatar
Discard
Best Answer

Add a custom Many2One field in the Manufacturing Order model that directly links to the Sales Order model. This ensures the Manufacturing Order is tied to the correct Sales Order.

Avatar
Discard

Create an automated action that updates this field based on the 'Source' field in the Manufacturing Order. For example, you could use a Python expression like record.env['sale.order'].search([('name', '=', record.origin)]) to fetch the correct Sales Order.

This post was last modified: 08-04-2025, 00:21 am by https://blockblastonline.com

Author Best Answer

Unfortunatly using the Procurement Group as the source did not bring forth any data. (product is MTO). Any othe suggestions?

Avatar
Discard
Best Answer

Hi Julie

Product > Stock Move will show all stock moves for the produced product.

Instead, if you used Procurement Group > Sale Order > Customer you should be able to get the info you're after.

Note: This will only work if you're using an MTO route, so the sale order is directly creating the manufacturing order. If the manufacturing order was created from a reordering rule there won't be a connection between the SO and MO.

Cheers,
Jake

Avatar
Discard
Related Posts Replies Views Activity
1
Dec 19
3386
0
Aug 25
134
0
Aug 25
133
2
Aug 25
648
0
Jul 25
517