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

Does anyone knows how to get an id of a many2one field inside it's one2many? For example, In sale_order if i want to add a sale_order_line then i want to access first the current sale order. My purpose here is to manipulate some data to be set in sale_order_lin. This question actually is related with my previous question.


Thanks for any help.

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

Check the solution in your previous question

https://www.odoo.com/forum/help-1/question/how-to-filter-fields-in-one2many-base-on-its-many2one-89978#answer_90005

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

Thanks. It helped a lot.

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 15
6965
3
thg 9 18
5958
0
thg 2 16
4011
0
thg 8 15
5946
1
thg 3 15
898