When searching for a product in the purchase/sale module, I need an image to be displayed next to the product list in the search window, this image is a field of product.product and it should change depending on the product selected in the list. Is there a way to do it? where can I start?
Such feature has been implemented in Issue 10545: Add support for images on product - Tryton issue tracker
Thanks for the reply. The implementation is very good. When I switch to the list view, it remains in read mode and I can’t click on the item. I don’t know how to solve that. I added in the convert method of the Image class the possibility to add .png images, the code is the following:
if img.mode == 'RGBA': background = PIL.Image.new('RGB', img.size, (255, 255, 255)) background.paste(img, mask=img.split()) img=background
This occur in version 6.1.0 in version 6.0.0 don’t occur that.