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?
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
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
0
juil. 25
|
13489 | |||
|
Highlight Records in Tree
Résolu
|
3
mai 23
|
3971 | ||
|
2
mai 25
|
34019 | |||
|
1
sept. 18
|
12966 | |||
|
0
mars 17
|
4715 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.