Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3763 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lip 25
11159
3
maj 23
2213
2
maj 25
31297
1
wrz 18
10866
0
mar 17
2790