Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2298 Visualizações

 

Hi guys!!!!

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

Thanks a lot in advance


Avatar
Cancelar
Melhor resposta

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.

Avatar
Cancelar
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. :(

Publicações relacionadas Respostas Visualizações Atividade
2
ago. 25
2262
1
jul. 25
798
1
ago. 25
1150
0
mai. 25
1271
2
abr. 25
3482