Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
7641 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Tekijä

Thanks. It helped a lot.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
elok. 15
6752
3
syysk. 18
5642
0
helmik. 16
3720
0
elok. 15
5546
1
maalisk. 15
555