How to define on_change method in odoo v8?
Thank you in advance.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How to define on_change method in odoo v8?
Thank you in advance.
@Prince,
Here you go!
@api.onchange(<your field name>)
def _onchange_student(self):
body of your code
#Note : in odoo v8 you no need to call that method from xml file it will directly call when you do changes in field which you have passed as argument in @api.onchange method. it will call.
Hope this will helps you.
Regards,
Anil.
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
on_change in xml in odoo
Opgelost
|
|
4
dec. 19
|
14636 | |
|
1
mrt. 15
|
5316 | ||
|
0
apr. 24
|
1853 | ||
|
4
nov. 23
|
5946 | ||
|
1
okt. 23
|
2022 |