Help

2

Does anyone have the solution for onchange not working like sale order line pop up in custom module?

Avatar
Annadurai

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.

 

1 Comment
Avatar
Discard

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.