From 7be4cd50e2480f6169fbeaf5066c784dd28d6b3d Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Sun, 17 May 2015 01:51:59 +0200 Subject: [PATCH] pos_customer_display: Add button "Display Total to Customer" and port to new API pos_payment_terminal: code cleanup --- .../static/src/js/pos_payment_terminal.js | 2 -- .../static/src/xml/pos_payment_terminal.xml | 19 +++++++------------ 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/pos_payment_terminal/static/src/js/pos_payment_terminal.js b/pos_payment_terminal/static/src/js/pos_payment_terminal.js index f63f6f3e..250e3d99 100755 --- a/pos_payment_terminal/static/src/js/pos_payment_terminal.js +++ b/pos_payment_terminal/static/src/js/pos_payment_terminal.js @@ -11,8 +11,6 @@ openerp.pos_payment_terminal = function(instance){ }, }); - //TODO make the button bigger and with better name - var _super_PaymentScreenWidget_init_ = module.PaymentScreenWidget.prototype.init; module.PaymentScreenWidget.prototype.init = function(parent, options){ _super_PaymentScreenWidget_init_.call(this, parent, options); diff --git a/pos_payment_terminal/static/src/xml/pos_payment_terminal.xml b/pos_payment_terminal/static/src/xml/pos_payment_terminal.xml index ce7459c4..48ff65a6 100644 --- a/pos_payment_terminal/static/src/xml/pos_payment_terminal.xml +++ b/pos_payment_terminal/static/src/xml/pos_payment_terminal.xml @@ -2,16 +2,11 @@ - - - - - - - - - + + + + + + +