Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
In a custom module I'm uploading an image file to the database. Now I want to get some attribtues from the upload file, while the image file is uploading to odoo and save this attributes in the database. To get the filename I use following code in the form.view:
<field name="image" filename="name"/>
With the parameter filename="name" the filename from the image file is saved into the database field name. This works fine.
My question is now, how can I get other attributes from the uploading image file? For example I want to get the recording date, resolution, image size ... Has anybody an idea how to get this attributes from the uploding image file to save this information in the database record?
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/7/16, 3:19 AM|
|Seen: 672 times|
|Last updated: 1/7/16, 4:14 AM|