Hello,
Please help with me this error: ""Could not display the selected image" on a related Binary field that this coded as following on Odoo 15:
class ProductTemplate(models.Model):
_name = 'product.template'
_inherit = 'product.template'
file_tech_file = fields.Binary(string="Upload Technical File")
class SupplierInfo(models.Model):
_inherit = 'product.supplierinfo'
image_128 = fields.Image(related='product_tmpl_id.image_128')
product_tech_file = fields.Binary(related='product_tmpl_id.file_tech_file')
xml:
name="image_128" widget="image" class="oe_avatar oe_right"/>
name="product_tech_file"/>
Image and file upload icon does not show up. Can you help?
Thank you,