Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
7595 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

Thanks. It helped a lot.

Powiązane posty Odpowiedzi Widoki Czynność
2
sie 15
6692
3
wrz 18
5568
0
lut 16
3660
0
sie 15
5511
1
mar 15
466