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.
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
on_change in xml in odoo
Решено
|
4
дек. 19
|
15195 | ||
|
1
мар. 15
|
5871 | |||
|
0
апр. 24
|
2650 | |||
|
4
нояб. 23
|
6838 | |||
|
1
окт. 23
|
2836 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.