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

Hello everybody,


I have one2many field that read from production.byproduct.line model and i have created other one2many field in mrp.prodution model.


I need to read all selected lines from production.byproduct.line to be recorded in my one2many field in mrp.production.


Any ideas how to do that

Avatar
Hylkää
Paras vastaus

Sure, You have to set a function to loop throw production.byproduct.line O2M and create lines in mrp.prodution 

  • Trigger on button click or on change 
  • or u can consider the mrp.production O2M a computed field depending on the other O2M (buproduct lines )
Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
4
toukok. 18
11251
0
maalisk. 23
5316
1
heinäk. 20
8588
0
huhtik. 20
4387
1
tammik. 20
3949