Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2578 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
mag 18
11603
0
mar 23
5614
1
lug 20
8965
0
apr 20
4586
1
gen 20
4132