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
- Bogføring
- Lager
- PoS
- Projekt
- MRP
Dette spørgsmål er blevet anmeldt
2
Besvarelser
18591
Visninger
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 ?
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Tilmeld dig| Related Posts | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
|
4
dec. 21
|
33368 | ||
|
|
0
mar. 15
|
4584 | ||
|
|
2
jul. 20
|
7740 | ||
|
|
0
jul. 16
|
6635 | ||
|
|
2
mar. 15
|
12637 |