Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3758 Переглядів

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
лип. 25
11155
3
трав. 23
2206
2
трав. 25
31296
1
вер. 18
10863
0
бер. 17
2788