Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
5210 Näkymät

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.

Avatar
Hylkää
Paras vastaus

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,

Avatar
Hylkää
Tekijä

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

Tekijä

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.

Tekijä

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.