Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
10461 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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! 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

In developer mode it is showing record id in numerical form

Bài viết liên quan Trả lời Lượt xem Hoạt động
View inheritance Đã xử lý
1
thg 3 20
3441
12
thg 12 18
34765
1
thg 7 16
7070
1
thg 3 15
7764
1
thg 3 15
3701