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

Can anyone say how can we hide Save As from the binary field during a CSV file import?? Is there any widget type to hide save as button?

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

For all xml tags there is the invisble attribute.

<button name="action" string="Click me!" invisible="1"/>

Inherit the view and add this attribute to the button.

 

Regards.

 

Ảnh đại diện
Huỷ bỏ
Tác giả

No I did not mean this,suppose when we create a binary field in openerp, its default view will be a field which will access the file from our file system, there we will be having an option for Save As, that thing I need to hide.