Community mailing list archives

Adding attachments in one2many line item fashion

ePillars Systems LLC, Shawn Varghese
- 10/18/2015 08:41:58
Hi All,

I am looking for a solution to add attachment files in a one2many model, similar to the attached screenshot. Basically, I need to add line items dynamically so that I can include information relevant to the document and attach the document alongside for ease of use.

Inline image 3

However, I am facing 2 issues:

1) The attachment gets saved on the database in spite of setting the data_dir property. Attachments saved otherwise get saved in the file system.

2) The name of the file does not appear. It just shows as 'Download'. 

Any help would be much appreciated. Thanks !