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.
I want store image name when we browse for an image. For example While creating a product, when i browse for product image, odoo storing binart data of image in database. I want to grab the product image name when user browse product image is it possible?. I can override create and write methods of product_template table.
I dont think you can retrive name of the image once it is saved to database, since binary decoding will concentrate more on content rather than the external data such as image name/size etc..
Alternate solution: Have an additional field for storing Image_name, so at the time of attaching the file, populate the name in the coressponding field... That way you can retrive it for further use....
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: 2/2/15, 8:03 AM|
|Seen: 495 times|
|Last updated: 3/16/15, 8:10 AM|