I am working with Odoo v12 and I need to hide the "import" button in a tree view but keeping the create button.
I have tried so far with . But the import button is still show.
How can I hide the import button?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I am working with Odoo v12 and I need to hide the "import" button in a tree view but keeping the create button.
I have tried so far with . But the import button is still show.
How can I hide the import button?
Hi,
To block importing of records, You can just give import="0" or import="false" in the tree view xml code.
Example:
<tree string="Sales details" import="0">
............
</tree>
Regards
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
|
0
jul. 25
|
11735 | ||
|
Highlight Records in Tree
Resolvido
|
|
3
mai. 23
|
2711 | |
|
How do you add a header in a tree view?
Resolvido
|
|
2
mai. 25
|
32151 | |
|
|
1
set. 18
|
11513 | ||
|
|
0
mar. 17
|
3405 |