This question has been flagged
2 Replies
4913 Views

A manufacturing order can be generate automatically for a particular sales order . Now in manufacturing order , I like to show corresponding sales order number . How can I make it ?

Avatar
Discard
Best Answer

Hello Chinmoy,

We have reference number in Manufacturing order.

Here i am attaching a image regarding that.

In that you can find "Source Document" field after "Responsible".

image description

Avatar
Discard
Author

Yes , but the thing I did , I added a field in sales order where company can add their unique custom sales reference number. Now for that particular sales order if any manufacturing order generate , I'll be able to tack my manufacturing process by my custom sales reference number. And want to display that custom sales reference number to each manufacturing order view related to corresponding sales order.

Okay i got your issue in mrp module there is one python file named as "Procurement.py" so in that there is one method named as "make_mo()" you should update that method to achieve your functionality.

Author

Thank You .. It helps

Best Answer

Hello,

This field is already available on the object with the label "Source Document"

It could be that you might not have permissions to see it but that's doubtful

Avatar
Discard