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

Hi,

When uploading or editing a document image with OpenERP document management system i can only see OpenERP's default attachment information : attachment name, content, owner, ....

I want to add a hidden field within the same form view (as fixed-size image viewer) so that it appears after uploading the image and the image will be displayed inside that field. Also, how can i zoom in/out the image.

I tried to use the datas field (from ir.attachment object) in document view (which inherit from the ir.attachment form view) with the property widget='image', but there is no satisfying result,

Any hints ...

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

i have same problem you get any solution ??

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

You will have to either build a separate module that will do this for you or you will have to add JavaScript that will handle showing of image in popup.

We are currently trying something in similar line at present.

After we manage to achieve this I will share the same here.

Ảnh đại diện
Huỷ bỏ

Interesting!!!!