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.
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
on_change in xml in odoo
Resolvido
|
|
4
dez. 19
|
15055 | |
|
|
1
mar. 15
|
5733 | ||
|
|
0
abr. 24
|
2461 | ||
|
|
4
nov. 23
|
6654 | ||
|
|
1
out. 23
|
2636 |