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

While working on an add-on for sale.order.line I noticed that the sale_line_id on the stock.move entries only has sale_line_id populated for the delivery stock move.

Is this the expected behavior? Or should sale_line_id always be populated on every stock move?

Without it being populated, a 3-step delivery operation does not trigger any depends for "move_ids" on the first operation being completed. It'll only see the delivery move changing from awaiting operation to waiting and then ready and done.

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

Hi Taylor Locke


Yes it is the expected behavior and it is Odoo's standard flow where if you create a sale order and confirm it Odoo will create a delivery order and in the stock.move the sale_line_id will be populated.


And same will happen with purchase_line_id as well.

Hope this will help you. 

Thanks & Regards,
Email:  odoo@aktivsoftware.com      

Skype: kalpeshmaheshwari

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 8 25
2852
1
thg 5 25
2782
1
thg 4 25
3745
1
thg 4 25
4614
1
thg 4 25
2051