I have around 14K products on my DB and I would like to add product images to them. However I dont want to include all of this images in my daily database backups since is is very unnecessary to backup images daily and an alternate location backup will took so long. I use same image for more than one product.
I just made it possible with attachments by selecting filestore in knowledge configuration. Is there such a configuration so I can use images in filestorage or web url as product images ?
In Version 6.1, You can upload your all images using filestore for attachment. It is possible to use 'Filestore' option of storage media configured at Knowledge -> Configuration -> Document Management -> Storage Media. This would store files/attachments on your local disk at the location specified or /openerp/filestore folder by default.
I have made a module to store product images on a disk: https://github.com/yelizariev/addons-yelizariev/tree/8.0/product_image_filestore
It uses ir.attachment table to store product images.
It will delete binary images columns, so it is necessary to export product images before installing and then import images back after installing the module.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/13/13, 6:10 AM|
|Seen: 5561 times|
|Last updated: 3/21/15, 7:01 AM|