Odoo Help

0

What is the best way to find view record id to inherit that view?

By
samba
on 7/28/14, 6:29 AM 1,773 views

I am facing problem on finding view name to inherit that view. For example to add a collumn in res.users, model name showing in address bar. But view name "<record id='  ' ", not showing any where. Is there any way to find it?

0
Abegail Sanchez
On 7/28/14, 11:27 AM

Activate developer mode and there you can see the view record details

In developer mode it is showing record id in numerical form

samba
on 8/1/14, 10:12 AM
0
Mohamed Essakali
On 7/28/14, 2:08 PM

As Sanchez says the first way to know it is to :

  • activate developer mode (more details)
  • go to the view you want to know its id 
  • click on debug menu and choose "Manage Views" option 

That will display the list of all model views, its sequences, types and external ids (what you are looking for). Displaying the list of all views and its type is useful to know if there is an other module that inherits this view to set the correct priority of yours. 

The second way to achieve the same list is to use settings menu -> Technical -> user interface -> Views and filter by model or another criteria.

The last one is to go to the source file of the module and check in xml view source file, but you can't know by this way if there is another view from another module that inherits the view you are looking for.

Hope it helps! 

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.

Register

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)

Stats

Asked: 7/28/14, 6:29 AM
Seen: 1773 times
Last updated: 3/16/15, 8:10 AM