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

I'm looking at a piece of code where person inherits a form view: 

<record id="rename_unit_of_measure_product_variant_view" model="ir.ui.view">            
<field name="name">product.variant.common.form</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_normal_form_view"></field>
<field name="arch" type="xml">
...

How to find that form (product.product_normal_form_view) in the UI to see how it looks like?  

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

In 9.0, activate developer mode, and go to Settings->Technical->Views, then search for the view name.

If you want to see what the form looks like in a web view, you can use the Developer Tools bar at the bottom of the screen, and choose General->Open View, then search for your view and open it.



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

That's exactly what I need. Thanks, James!

How to do this on newer versions?

follow the same after activating the developer mode in all versions

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 19
5922
1
thg 11 24
1672
1
thg 9 21
9450
1
thg 1 24
17062
0
thg 3 15
3327