Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6795 Представления

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

Related Posts Ответы Просмотры Активность
3
апр. 19
5931
1
нояб. 24
1680
1
сент. 21
9457
1
янв. 24
17064
0
мар. 15
3335