Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1676 Visualizzazioni

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
Abbandona

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

Autore Risposta migliore

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
Abbandona

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.

Autore

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

Post correlati Risposte Visualizzazioni Attività
2
ott 25
2697
1
set 25
2686
3
lug 25
4102
1
mag 25
2199
4
mag 25
3551