How can I configure POS to load a 128x128 pixel thumb instead of the full resolution image?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
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
addons/point_of_sale/static/src/js/models.js
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.
This is great. Fabien, are you planning on merging this with 7.0?
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Feb 17
|
4289 | ||
|
0
Mar 15
|
4749 | ||
|
0
Nov 24
|
762 | ||
|
0
Agu 24
|
872 | ||
|
1
Agu 25
|
772 |