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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
0
3月 24
|
10997 | ||
|
3
5月 23
|
2082 | ||
|
2
5月 25
|
31129 | ||
|
1
9月 18
|
10721 | ||
|
0
3月 17
|
2643 |