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)
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.