Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
7653 มุมมอง

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
ผู้เขียน

Thanks. It helped a lot.

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ส.ค. 15
6766
3
ก.ย. 18
5677
0
ก.พ. 16
3729
0
ส.ค. 15
5574
1
มี.ค. 15
597