Skip to Content
Menu
This question has been flagged
1 Reply
3249 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
0
Mar 24
10574
3
May 23
1795
2
May 25
30626
1
Sep 18
10346
0
Mar 17
2310