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.
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
on_change in xml in odoo
Gelöst
|
|
4
Dez. 19
|
14647 | |
|
1
März 15
|
5322 | ||
|
0
Apr. 24
|
1857 | ||
|
4
Nov. 23
|
5950 | ||
|
1
Okt. 23
|
2024 |