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

I want to add the delivery address and customer fields to a production order, this after having made that production order from a sales order... how can I add those fields ? in odoo 15

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

Create a related field on the Manufacturing Order model (mrp.production) like this:

move_dest_ids.sale_line_id.order_id.partner_shipping_id

Add this field to the Form View to see:


Be sure to use 

context="{'show_address': 1}"  options='{"always_reload": True}' 


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 25
2633
1
thg 7 25
1021
1
thg 8 25
1151
0
thg 5 25
1480
2
thg 4 25
3627