how to add an image to a many2one field odoo12

31 Views Asked by At

how to add an image(binary) to a many2one field other than "EHCS Many2one Dropdown Image"(module)

class x:
    x = field.binary()  #image
    name = field.char() #name

class y:
  m = field.many2one(class x)  #show(name image)
0

There are 0 best solutions below