I need implement a list of attachments as the diagram showed below.
I searched around and didn't find a solution. More specifically, how can I get filename of the file uploaded in a Binary field?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I need implement a list of attachments as the diagram showed below.
I searched around and didn't find a solution. More specifically, how can I get filename of the file uploaded in a Binary field?
The original file that was uploaded will likely have its file name stored on the 'name' or 'res_name' of the ir.attachment model.
When a file is uploaded to Odoo it gets stored in the file store or in the DB as just binary data.
In the DB its stored in a binary field. On the file store , its saved in an indexed folder with the file name being a unique id.(Not the original file name as there could be multiple files with the same name)
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.