Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1675 Prikazi

I thought this would work ... but none of these get triggered. Even tho it is loaded, when i look at the model, the added field is visible in the 'technical / model views'



Any idea what are the possibilities the onchange does not get triggered on any of the fields ?

Avatar
Opusti

Are you changing this values manually in the form view?
The onchange is triggered in the frontend.

Avtor Best Answer

Wel at least name is changed in the form view ... although the documents interface is mostly javascript. so perhaps it is not triggered there ?

Avatar
Opusti

It might be that.
If you chekc the odoo's code they have the @api.onchange('url') in that model, but for that field they use a "normal" form view.

Avtor

There is no backend equivalent for onchange, right ? Other than comparing manually in the .write function ?

Related Posts Odgovori Prikazi Aktivnost
2
okt. 25
2697
1
sep. 25
2686
3
jul. 25
4102
1
maj 25
2199
4
maj 25
3551