From: Frédéric van der Essen Date: Fri, 31 Jan 2014 10:22:45 +0000 (+0100) Subject: [IMP] point_of_sale: increased size of logo on receipt X-Git-Tag: InsPy_master01~637 X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=a45ae1384c7f92b3a4678682b28e6c081314a2ed;p=odoo%2Fodoo.git [IMP] point_of_sale: increased size of logo on receipt bzr revid: fva@openerp.com-20140131102245-hhshe83xuanllhyt --- 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; }