Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2282 Widoki

 

Hi guys!!!!

Please, i want to know when the function on_change is called in Odoo 8?

Thanks a lot in advance


Awatar
Odrzuć
Najlepsza odpowiedź

Hello,

In Odoo 8 you define onchange using this

@api.onchange('field name')

So whenever any change happen in field that time onchange will call.

Awatar
Odrzuć
Autor

Thanks a lot for the answer. But, the problem is that with my on_change function it will be functional when i press the button Create. How can i resolve it please??

Sorry but didn't get you. :(

Powiązane posty Odpowiedzi Widoki Czynność
2
sie 25
2243
1
lip 25
778
1
sie 25
1150
0
maj 25
1266
2
kwi 25
3469