Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1686 Представления

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 ?

Related Posts Ответы Просмотры Активность
2
окт. 25
2702
1
сент. 25
2691
3
июл. 25
4105
1
мая 25
2202
4
мая 25
3553