跳至内容
菜单
此问题已终结
1 回复
5187 查看

I know there is DMS module which is used to do uploading of file.It use knowledge module and ir.attachment.py.But I need to upload a pdf file from local system into my openerp custom module using onchange function and get the preview of it. Please help me on this. It very urgent. ThankYou in advance.

形象
丢弃
最佳答案

Hello,

Take one binary field,

When fire onchange, via base64 encoding get file and set in that binary field.

For preview you might need to design custom web feature, by default OpenERP does not have this feature as per my knowledge.

Thanks,

形象
丢弃
编写者

Hi Zahin can you please provide me some link or some code view so I can easily implement this... and thanks for reply.....

编写者

Hi Zahin please provide me some link for that.........

Its kind of tools.image_get_resized_images(obj.image), you need to dig more on tools features.

This website mostly gives 502 ERROR / NGINX...

* BETTER YOU POST YOUR QUESTION ON STACKOVERFLOW.COM *.

Which is strong and easy to gives you answers and updates.

编写者

Thanks I look on tool module and try to solve my question........Thanks again for ur reply....and if u find any good answer for me then please post it here....

Yours welcome.