跳至內容
選單
此問題已被標幟
2 回覆
10440 瀏覽次數

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?

頭像
捨棄
最佳答案

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! 

頭像
捨棄
最佳答案

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

頭像
捨棄
作者

In developer mode it is showing record id in numerical form

相關帖文 回覆 瀏覽次數 活動
1
3月 20
3419
12
12月 18
34738
1
7月 16
7045
1
3月 15
7746
1
3月 15
3683