콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1402 화면

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,


아바타
취소