From 37a2f101275b45a42a2ffae067cc84f88e67d044 Mon Sep 17 00:00:00 2001
From: Frederic van der Essen <fva@openerp.com / fvdessen+o@gmail.com>
Date: Mon, 11 Aug 2014 13:39:39 +0200
Subject: [PATCH] [IMP] point_of_sale: make the confirm action color less
 frightening & longer delay

---
 addons/point_of_sale/static/src/css/pos.css   | 2 +-
 addons/point_of_sale/static/src/js/widgets.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/addons/point_of_sale/static/src/css/pos.css b/addons/point_of_sale/static/src/css/pos.css
index abb724318f70..9cf2a86c3486 100644
--- a/addons/point_of_sale/static/src/css/pos.css
+++ b/addons/point_of_sale/static/src/css/pos.css
@@ -400,7 +400,7 @@ td {
     color:#EEE;
 }
 .pos .pos-rightheader .header-button.confirm {
-    background: #F03F00;
+    background: #359766;
     color: white;
     font-weight: bold;
 }
diff --git a/addons/point_of_sale/static/src/js/widgets.js b/addons/point_of_sale/static/src/js/widgets.js
index 5788afc086ca..bf03d3a33f12 100644
--- a/addons/point_of_sale/static/src/js/widgets.js
+++ b/addons/point_of_sale/static/src/js/widgets.js
@@ -1140,7 +1140,7 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
                             self.$el.removeClass('confirm');
                             self.$el.text(_t('Close'));
                             self.confirmed = false;
-                        },900);
+                        },2000);
                     } else {
                         clearTimeout(this.confirmed);
                         this.pos_widget.close();
-- 
GitLab