Trợ giúp


how can I make the widget for binary fields "upload only" or "download only"?

When I display a binary field in a form, the widgets allows both uploading and downloading a file. Is there a magical attribute I can set on the view to hide the updload or download button in order to control the information flow and unclutter the display?

2 Bình luận
Ảnh đại diện
Huỷ bỏ
OpenERP Vietnam

You can refer "base" and "document" module with object "ir.attachment" and field "datas" of OpenERP.

Ing. Daniel Blanco

Could you please OE Vietnam, be more specific?