コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1689 ビュー

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 ?

アバター
破棄

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

著作者 最善の回答

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

アバター
破棄

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.

著作者

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

関連投稿 返信 ビュー 活動
2
10月 25
2703
1
9月 25
2693
3
7月 25
4105
1
5月 25
2203
4
5月 25
3556