This question has been flagged
1 Reply
6672 Views

Hello, I need to integrate one or more drawings into the products table. This drawings can be Solidworks files or even PDFs. Any ideas? Thanks in advance.

dotz

Avatar
Discard

Do you mean a separate file or a picture as use to be in V6?

Author

I mean a seperate File. We store all our construction files on our local data server in well ordered folder system. The idea of simply attaching these file(s) to a product looks good. But how do I manage that? Do I need a new module or shall I expand the product table with one new field to store a link (path) of that file?

Best Answer

It is possible to attach file(s) to a product/service. These attachments are stored in ir.attachment.

These files can be stored there using an external script (either using openERP or SQL), or yo can manually attach the file(s) to the product(s).

If you want to attach these files to emails, or print them on a sales-order, you have to do some work. Either modify the existing report(s) and/or create your own module to convert the file format into a picture before adding it to a report.

Avatar
Discard
Author

I explained my needs in the above comment. Attachment seems good.