تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
6770 أدوات العرض

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?  

الصورة الرمزية
إهمال
أفضل إجابة

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.



الصورة الرمزية
إهمال
الكاتب

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
3
أبريل 19
5917
1
نوفمبر 24
1671
1
سبتمبر 21
9448
1
يناير 24
17061
0
مارس 15
3327