Hi,
I found by tracing that when creating a new object the method view_init is issued. I need know if there is a method that is triggered when the form is opened
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I found by tracing that when creating a new object the method view_init is issued. I need know if there is a method that is triggered when the form is opened
Hi,
there is a method is fields_view_get. Which is triggered when any kind of view is loaded.
Hi Emipro Technologies, Thanks for the reply, I traced it and found it is triggered when loading the form. Now I have bit more queistions : 1. I noticed that the method fields_view_get is called twice, why is that? 2. What is the role of the methods 'view_init' and 'default_get?
It is called 2 time because it loads form and tree view ... trace it again and check view_type variable
Create an account today to enjoy exclusive features and engage with our awesome community!
Registracija| Related Posts | Replies | Rodiniai | Veikla | |
|---|---|---|---|---|
|
2
rugs. 25
|
1125 | |||
|
0
saus. 21
|
3161 | |||
|
How to add Fields in Form
Solved
|
5
liep. 19
|
5588 | ||
|
1
geg. 16
|
4513 | |||
|
3
bal. 16
|
10648 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.