Odoo Help

Welcome!

This community 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.

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,338 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! 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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