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

I have created a custom module with one2many field 

<field name="line_ids" > here line_ids is one2many field

when I first add a line in add an item, it triggers onchange method. 

After clicking "save and new" button, then the onchange method is not triggered.

checked this in saleorder line, but its triggering after clicking save and new button there.

 

Avatar
Abbandona

Hello Annadurai,

Yes you are correct. It works in sale order lines. because it creates new record. and this should work in you case also. but if problem it there. so may be you can put your on-change method code and xml code may be it help to find solutions.

Post correlati Risposte Visualizzazioni Attività
2
lug 24
14069
1
feb 22
2686
1
lug 21
8258
0
apr 20
4758
1
mag 18
3050