Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3250 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 24
10575
3
mag 23
1795
2
mag 25
30627
1
set 18
10347
0
mar 17
2310