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
Esta pergunta foi sinalizada
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
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
Blank Page After Logged in.
Resolvido
|
|
2
set. 25
|
6005 | |
|
|
2
nov. 24
|
5833 | ||
|
|
1
set. 23
|
8169 | ||
|
|
0
abr. 21
|
5219 | ||
|
|
0
mar. 26
|
8 |