Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1699 Weergaven

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
Annuleer

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

Auteur Beste antwoord

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
Annuleer

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.

Auteur

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

Gerelateerde posts Antwoorden Weergaven Activiteit
2
okt. 25
2713
1
sep. 25
2730
3
jul. 25
4115
1
mei 25
2206
4
mei 25
3563