From a45ae1384c7f92b3a4678682b28e6c081314a2ed Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20van=20der=20Essen?= Date: Fri, 31 Jan 2014 11:22:45 +0100 Subject: [PATCH] [IMP] point_of_sale: increased size of logo on receipt bzr revid: fva@openerp.com-20140131102245-hhshe83xuanllhyt --- addons/point_of_sale/static/src/js/models.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/point_of_sale/static/src/js/models.js b/addons/point_of_sale/static/src/js/models.js index 476873f..6b54c14 100644 --- a/addons/point_of_sale/static/src/js/models.js +++ b/addons/point_of_sale/static/src/js/models.js @@ -262,8 +262,8 @@ function openerp_pos_models(instance, module){ //module is instance.point_of_sal self.company_logo.onload = function(){ var img = self.company_logo; var ratio = 1; - var targetwidth = 200; - var maxheight = 100; + var targetwidth = 300; + var maxheight = 150; if( img.width !== targetwidth ){ ratio = targetwidth / img.width; } -- 1.7.10.4