[IMP] point_of_sale: increased size of logo on receipt
authorFrédéric van der Essen <fva@openerp.com>
Fri, 31 Jan 2014 10:22:45 +0000 (11:22 +0100)
committerFrédéric van der Essen <fva@openerp.com>
Fri, 31 Jan 2014 10:22:45 +0000 (11:22 +0100)
bzr revid: fva@openerp.com-20140131102245-hhshe83xuanllhyt

addons/point_of_sale/static/src/js/models.js

index 476873f..6b54c14 100644 (file)
@@ -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;
                         }