Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar

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.

Publicaciones relacionadas Respuestas Vistas Actividad
2
jul 24
14046
1
feb 22
2676
1
jul 21
8218
0
abr 20
4746
1
may 18
3033