Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3772 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
heinäk. 25
11165
3
toukok. 23
2216
2
toukok. 25
31306
1
syysk. 18
10874
0
maalisk. 17
2795