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:
@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.
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
on_change in xml in odoo
Résolu
|
4
déc. 19
|
15199 | ||
|
1
mars 15
|
5871 | |||
|
0
avr. 24
|
2656 | |||
|
4
nov. 23
|
6848 | |||
|
1
oct. 23
|
2874 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.