I was trying to trigger an action on load of a form view, actually I wanted to do some requests when I land on the form view, and those requests would fire automatically on load of the form view.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
2
Réponses
17841
Vues
fields_view_get is triggered when a form is loaded. You can put in it your code to do your requests. I hope this will help you.
pls check this
I'm having the same problem : on the load of the page, I want to get some informations from the database. And so call a javascript function when my page is loading. Is there a way to do that ?
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
Open form in view mode?
Résolu
|
|
4
déc. 21
|
31860 | |
|
0
mars 15
|
4019 | ||
|
2
juil. 20
|
6966 | ||
|
0
juil. 16
|
5986 | ||
|
2
mars 15
|
11913 |