CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I was trying to use a _get_image function (which worked but I was unable to display image), so
I decided to use a field: image = fields.Binary(related='product_id.image_medium', string='Image') instead.
Simple but effective way to use same product image in any custom module.
About This Community
Odoo Training Center
|Asked: 10/13/15, 6:47 AM|
|Seen: 630 times|
|Last updated: 10/16/15, 8:13 AM|