Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
7609 Weergaven

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.

Avatar
Annuleer
Beste antwoord

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

Avatar
Annuleer
Auteur

Thanks. It helped a lot.

Gerelateerde posts Antwoorden Weergaven Activiteit
2
aug. 15
6699
3
sep. 18
5579
0
feb. 16
3672
0
aug. 15
5518
1
mrt. 15
468