Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
230 Lượt xem

Hello everyone. I want to transfer some fields from sale.oder to mrp.production. So how to find sale.order from Production Order (mrp.production) created by MTO. I can't find the link between them.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello huyennx,

 

When a Manufacturing Order (mrp.production) is created by Make To Order (MTO) from a Sale Order, the connection is made through the origin field. This field works like a “reference” that Odoo automatically fills in with the Sale Order Name.

 

To find the Sale Order from your Manufacturing Order:

 

1. Open the Manufacturing Order.

2. Go to the Miscellaneous tab.

3. Look at the Origin field → here you will see the Sale Order reference (eg, SO001) if it was created from an MTO Sale Order.

 

Please refer to the below mentioned screenshot for reference.

 



If you have any questions, feel free to reach out.

Hope this helps!!!


Thanks & Regards,

Email : odoo@aktivsoftware.com

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you for your help. But I think that data field is a text field, it can be edited. I feel very good. Is there any other relationship may not be directly but indirectly through another model?

"Origin sale order line" = sale_line_id is the field that links the Manufacturing Order to the Sale Order Line that created it.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 25
1044
0
thg 5 24
1724
0
thg 3 23
2796
1
thg 12 21
3245
3
thg 12 24
6045