Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6788 Zobrazení

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?  

Avatar
Zrušit
Nejlepší odpověď

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.



Avatar
Zrušit
Autor

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 Odpovědi Zobrazení Aktivita
3
dub 19
5929
1
lis 24
1676
1
zář 21
9456
1
led 24
17063
0
bře 15
3332