Odoo Help


POS thumb images of products - not full resolution (v7)

Ramesh Patel
on 5/15/13, 5:04 AM 2,146 views

How can I configure POS to load a 128x128 pixel thumb instead of the full resolution image?

Ramesh Patel
On 5/17/13, 4:56 AM

I solved it my self - It speeds up the POS greatly over DSL network!.

In addons/point_of_sale/static/src/js/widgets.js

On line 500; change 'image' to 'image_medium':

get_image_url: function(category){ return instance.session.url('/web/binary/image', {model: 'pos.category', field: 'image_medium', id: category.id}); },

and in


Line 340; 'image' to 'image_medium':

module.Product = Backbone.Model.extend({ get_image_url: function(){ return instance.session.url('/web/binary/image', {model: 'product.product', field: 'image_medium', id: this.get('id')}); }, });

thanks, we applied your suggestion in trunk.

Fabien Pinckaers (fp)
on 5/17/13, 5:18 AM

This is great. Fabien, are you planning on merging this with 7.0?

Kevin Shenk
on 5/17/13, 7:31 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/15/13, 5:04 AM
Seen: 2146 times
Last updated: 3/16/15, 8:10 AM