Odoo Help


how to trigger an action onLoad of a form view?

Prashant Kumar
on 7/5/13, 11:15 AM 3,752 views

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.


Tarek Mohamed Ibrahim

--Tarek Mohamed Ibrahim--
| 5 3 7
Gîza, Egypt
--Tarek Mohamed Ibrahim--

I am an old VFP developer on ERP

I have moved to 2p since Nov-2014 and started developing with Python on Odoo.



Tarek Mohamed Ibrahim
On 10/10/15, 5:47 PM

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

Clément TheSecond
On 4/20/15, 5:56 AM

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 ?

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 7/5/13, 11:15 AM
Seen: 3752 times
Last updated: 10/10/15, 5:47 PM