Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3749 Vues

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?

Avatar
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Publications associées Réponses Vues Activité
0
juil. 25
11151
3
mai 23
2200
2
mai 25
31293
1
sept. 18
10861
0
mars 17
2786