Se rendre au contenu
Menu
Cette question a été signalée

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
Ignorer

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.

Publications associées Réponses Vues Activité
2
juil. 24
14069
1
févr. 22
2687
1
juil. 21
8260
0
avr. 20
4761
1
mai 18
3054