Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3252 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 24
10575
3
thg 5 23
1795
2
thg 5 25
30628
1
thg 9 18
10348
0
thg 3 17
2310