I am trying, in odoo studio, in a computed field, to retrieve the url of the image of an attribute of a product.
essentially lets say I have product P with attributes A, B and C.
Each of A, B and C have values with images.
I would like to have 3 compute fields retrieving the url of the images of said attributes.
goal is to use the attributes in "select" display type but have an image showing what the selected attribute looks like.
You might ask why I dont use the attribute display type "image", the answer is simple : the attribute can have a lot of possible values (up to or even more than 100 of them) making the use of "image" display type impossible (300 small images defaces totally the product page in the webshop)...
Any help on this would be greatly appreciated as I am beginner in odoo studio usage and I have no idea where to look for the syntax or field names that I can use to retrieve values in here.... (a sample solution code would be great but pointers to the right page in reference documentation would be awesome too)
Thanks in advance!