[IMP] point of sale: updated used iamge size to image_medium in point of sale.
bzr revid: tde@openerp.com-20120628102735-lkidztrueu5emax0
This commit is contained in:
parent
1da7eebab8
commit
9e7f29ccd9
|
@ -106,7 +106,7 @@ openerp.point_of_sale = function(db) {
|
|||
return self.set({'categories': result});
|
||||
});
|
||||
var prod_def = fetch('product.product', ['name', 'list_price', 'pos_categ_id', 'taxes_id',
|
||||
'image_small'], [['pos_categ_id', '!=', 'false']]).then(function(result) {
|
||||
'image_medium'], [['pos_categ_id', '!=', 'false']]).then(function(result) {
|
||||
return self.set({'product_list': result});
|
||||
});
|
||||
var bank_def = fetch('account.bank.statement', ['account_id', 'currency', 'journal_id', 'state', 'name'],
|
||||
|
|
|
@ -181,7 +181,7 @@
|
|||
<t t-name="pos-product-template">
|
||||
<a href="#">
|
||||
<div class="product-img">
|
||||
<img t-att-src="'data:image/gif;base64,'+ image_small" />
|
||||
<img t-att-src="'data:image/gif;base64,'+ image_medium" />
|
||||
<span class="price-tag">
|
||||
<t t-esc="format_amount(list_price)"/>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue