跳至內容
選單
此問題已被標幟
1 回覆
7620 瀏覽次數

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.

相關帖文 回覆 瀏覽次數 活動
2
8月 15
6716
3
9月 18
5612
0
2月 16
3692
0
8月 15
5529
1
3月 15
514