İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2190 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
4
May 18
11126
0
Mar 23
5153
1
Tem 20
8495
0
Nis 20
4263
1
Oca 20
3825