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.