Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1862 Prikazi

I want to show a list view, in this page of the notebook, the list view should only show some fields from the same notebook


Avatar
Opusti
Best Answer

Hi,
To create a list view inside the notebook in a form view you can check the below example:

<notebook>
                            <page string="Page Name" name="page_name" >
                                <field name="your_one_2_many_field">// one2many field related to the corresponding list view model
                                    <tree editable="bottom">
                                        //Add the fields to show in the list view
                                        <field name="field_1" />
                                        <field name="field_2" />
                                        <field name="field_3" />
                               
                                    </tree>
                                </field>
                            </page>
</notebook>

Hope it helps

Avatar
Opusti
Avtor

I have to show the fields many2one fields in the same notebook, so I used the approach to store those many2one fields data in another model, and then show those new model fields in that view as a tree and it worked properly, thank you

Related Posts Odgovori Prikazi Aktivnost
2
nov. 24
2918
1
nov. 23
3206
1
sep. 23
4628
0
apr. 21
3535
0
mar. 25
1075