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
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухоблік
- Склад
- PoS
- Project
- MRP
Це запитання позначене
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
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
| 
            
                Blank Page After Logged in. 
            
            
                    Вирішено
            
         |  | 2 вер. 25  | 4062 | |
|  | 2 лист. 24  | 3978 | ||
|  | 1 вер. 23  | 5816 | ||
|  | 0 квіт. 21  | 4049 | ||
|  | 0 бер. 25  | 1889 | 
