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
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
2
Antwoorden
17832
Weergaven
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 ?
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
Open form in view mode?
Opgelost
|
|
4
dec. 21
|
31828 | |
|
0
mrt. 15
|
3994 | ||
|
2
jul. 20
|
6964 | ||
|
0
jul. 16
|
5984 | ||
|
2
mrt. 15
|
11908 |