[FIX] doc: less confusing example
The view example for xpath extends a view with the model ir.ui.view As the content of the view seems to make reference to an object idea.category and extending the view of a view is not the most clear example, replace the model by the fictive idea.category
This commit is contained in:
parent
404b668370
commit
22ded0df6b
|
@ -621,7 +621,7 @@ instead of a single view its ``arch`` field is composed of any number of
|
||||||
<!-- improved idea categories list -->
|
<!-- improved idea categories list -->
|
||||||
<record id="idea_category_list2" model="ir.ui.view">
|
<record id="idea_category_list2" model="ir.ui.view">
|
||||||
<field name="name">id.category.list2</field>
|
<field name="name">id.category.list2</field>
|
||||||
<field name="model">ir.ui.view</field>
|
<field name="model">idea.category/field>
|
||||||
<field name="inherit_id" ref="id_category_list"/>
|
<field name="inherit_id" ref="id_category_list"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<!-- find field description inside tree, and add the field
|
<!-- find field description inside tree, and add the field
|
||||||
|
|
Loading…
Reference in New Issue