İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1681 Görünümler

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
Vazgeç

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

Üretici En İyi Yanıt

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
Vazgeç

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.

Üretici

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Eki 25
2701
1
Eyl 25
2691
3
Tem 25
4104
1
May 25
2200
4
May 25
3553