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

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
4
mei 18
10944
0
mrt. 23
4981
1
jul. 20
8310
0
apr. 20
4151
1
jan. 20
3688