Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2199 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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 )
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
maj 18
11142
0
mar 23
5185
1
lip 20
8501
0
kwi 20
4284
1
sty 20
3853