From a57602ee0a20c0c499b7a5b1cac8161b4c8c97b8 Mon Sep 17 00:00:00 2001 From: Ravij Parikh Date: Thu, 1 Jan 2026 18:42:59 +0530 Subject: [PATCH 1/5] [ADD] pos_customer_display: add manifest file Create the module manifest to declare metadata, dependencies, and assets required for the POS customer display module. --- pos_customer_display/__manifest__.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pos_customer_display/__manifest__.py diff --git a/pos_customer_display/__manifest__.py b/pos_customer_display/__manifest__.py new file mode 100644 index 00000000000..327738d78cc --- /dev/null +++ b/pos_customer_display/__manifest__.py @@ -0,0 +1,8 @@ +{ + "name": "POS Customer Display", + "author": "Ravij Parikh (snrav)", + "summary": "Display customer name, amount/guest and refund lines in POS", + "version": "1.0", + "depends": ["point_of_sale"], + "license": "LGPL-3" +} From 294a6544852a0737963f2da9b99aeb71b7487cc3 Mon Sep 17 00:00:00 2001 From: Ravij Parikh Date: Thu, 1 Jan 2026 18:46:57 +0530 Subject: [PATCH 2/5] [ADD] pos_customer_display: add manifest file Create the module manifest to declare metadata, dependencies, and assets required for the POS customer display module. --- pos_customer_display/__manifest__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pos_customer_display/__manifest__.py b/pos_customer_display/__manifest__.py index 327738d78cc..2a245b07d27 100644 --- a/pos_customer_display/__manifest__.py +++ b/pos_customer_display/__manifest__.py @@ -1,8 +1,9 @@ { "name": "POS Customer Display", - "author": "Ravij Parikh (snrav)", - "summary": "Display customer name, amount/guest and refund lines in POS", "version": "1.0", + "author": "Ravij Parikh (snrav)", + "Description": "Display customer name, amount/guest and refund lines in POS", "depends": ["point_of_sale"], + "application": True, "license": "LGPL-3" } From 80e71c9b54f40c29f9f4131fe24d30a0883869bf Mon Sep 17 00:00:00 2001 From: Ravij Parikh Date: Tue, 6 Jan 2026 23:15:48 +0530 Subject: [PATCH 3/5] [IMP] pos_customer_display: add customer display template Added a new customer display XML template to show additional order information on the secondary screen. The template displays the customer name, amount per guest, and prepares structure for showing refund lines separately. Impact: - Improves visibility of key order details for customers. - Enhances clarity on the customer-facing display. --- pos_customer_display/__manifest__.py | 12 +++++++-- .../src/customer_display/customer_display.xml | 25 +++++++++++++++++++ 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 pos_customer_display/static/src/customer_display/customer_display.xml diff --git a/pos_customer_display/__manifest__.py b/pos_customer_display/__manifest__.py index 2a245b07d27..b988d4fee96 100644 --- a/pos_customer_display/__manifest__.py +++ b/pos_customer_display/__manifest__.py @@ -2,8 +2,16 @@ "name": "POS Customer Display", "version": "1.0", "author": "Ravij Parikh (snrav)", - "Description": "Display customer name, amount/guest and refund lines in POS", + "description": "Display customer name, amount/guest and refund lines in POS", "depends": ["point_of_sale"], "application": True, - "license": "LGPL-3" + "license": "LGPL-3", + "assets": { + "point_of_sale.assets": [ + "pos_customer_display/static/src/pos_order.js", + ], + "point_of_sale.customer_display_assets": [ + "pos_customer_display/static/src/customer_display/*", + ], + } } diff --git a/pos_customer_display/static/src/customer_display/customer_display.xml b/pos_customer_display/static/src/customer_display/customer_display.xml new file mode 100644 index 00000000000..744f6d83791 --- /dev/null +++ b/pos_customer_display/static/src/customer_display/customer_display.xml @@ -0,0 +1,25 @@ + + + + + +
+ +
+
Customer:
+
+ +
+
+
+
+ +
+ / Guest +
+
+
+
+
+
+
From 249a76b059e882b5b3ee6968be1dc2d99e371d2b Mon Sep 17 00:00:00 2001 From: Ravij Parikh Date: Wed, 7 Jan 2026 23:18:07 +0530 Subject: [PATCH 4/5] [IMP] pos_customer_display: enhance order details visibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before: The customer display lacked important order information. The customer’s name was not shown. Refund items were mixed with regular sale lines. Pricing per guest was not available on the display. After: The selected customer’s name is now visible on the customer display. The amount charged per guest is displayed clearly. Refund items are shown in a dedicated section, separate from standard order lines. Impact: Customers can now view clearer and more complete order information. Refunds are easier to identify at a glance. Overall customer display readability and user experience are improved. --- pos_customer_display/__manifest__.py | 8 +++---- .../src/customer_display/customer_display.xml | 24 ++++++++++++------- .../customer_display_adapter.js | 11 +++++++++ 3 files changed, 31 insertions(+), 12 deletions(-) create mode 100644 pos_customer_display/static/src/customer_display/customer_display_adapter.js diff --git a/pos_customer_display/__manifest__.py b/pos_customer_display/__manifest__.py index b988d4fee96..f6ef4f65838 100644 --- a/pos_customer_display/__manifest__.py +++ b/pos_customer_display/__manifest__.py @@ -2,16 +2,16 @@ "name": "POS Customer Display", "version": "1.0", "author": "Ravij Parikh (snrav)", - "description": "Display customer name, amount/guest and refund lines in POS", + "description": "Display customer name, amount/guest and refund in POS", "depends": ["point_of_sale"], "application": True, "license": "LGPL-3", "assets": { - "point_of_sale.assets": [ - "pos_customer_display/static/src/pos_order.js", + "point_of_sale.assets_prod": [ + "pos_customer_display/static/src/customer_display/customer_display_adapter.js", ], "point_of_sale.customer_display_assets": [ - "pos_customer_display/static/src/customer_display/*", + "pos_customer_display/static/src/customer_display/customer_display.xml", ], } } diff --git a/pos_customer_display/static/src/customer_display/customer_display.xml b/pos_customer_display/static/src/customer_display/customer_display.xml index 744f6d83791..350bbe9e61d 100644 --- a/pos_customer_display/static/src/customer_display/customer_display.xml +++ b/pos_customer_display/static/src/customer_display/customer_display.xml @@ -4,22 +4,30 @@
- -
-
Customer:
+ +
+
Customer
- +
-
+
-
- / Guest +
+ / Guest
-
+
+ +
+ +

Refund

+ +
+
+
diff --git a/pos_customer_display/static/src/customer_display/customer_display_adapter.js b/pos_customer_display/static/src/customer_display/customer_display_adapter.js new file mode 100644 index 00000000000..6de80cf7c19 --- /dev/null +++ b/pos_customer_display/static/src/customer_display/customer_display_adapter.js @@ -0,0 +1,11 @@ +import { patch } from "@web/core/utils/patch"; +import { CustomerDisplayPosAdapter } from "@point_of_sale/app/customer_display/customer_display_adapter"; + +patch(CustomerDisplayPosAdapter.prototype, { + formatOrderData(order) { + super.formatOrderData(order); + this.data.partner_id = order.getPartnerName(); + this.data.amountPerGuest = order.amountPerGuest(); + this.data.is_refund = order.is_refund; + }, +}); From d4f341080fec0e9f652ff44948c0c76cf50e4931 Mon Sep 17 00:00:00 2001 From: Ravij Parikh Date: Tue, 13 Jan 2026 15:54:37 +0530 Subject: [PATCH 5/5] [IMP] pos_customer_display: fix amount per guest formatting - Added currency symbol before amount in per-guest pricing - Prevents ambiguity in customer-facing display --- .../static/src/customer_display/customer_display.xml | 3 ++- .../static/src/customer_display/customer_display_adapter.js | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pos_customer_display/static/src/customer_display/customer_display.xml b/pos_customer_display/static/src/customer_display/customer_display.xml index 350bbe9e61d..cf0f69ddd2c 100644 --- a/pos_customer_display/static/src/customer_display/customer_display.xml +++ b/pos_customer_display/static/src/customer_display/customer_display.xml @@ -15,7 +15,8 @@
- / Guest + + / Guest
diff --git a/pos_customer_display/static/src/customer_display/customer_display_adapter.js b/pos_customer_display/static/src/customer_display/customer_display_adapter.js index 6de80cf7c19..0a11122262c 100644 --- a/pos_customer_display/static/src/customer_display/customer_display_adapter.js +++ b/pos_customer_display/static/src/customer_display/customer_display_adapter.js @@ -2,10 +2,15 @@ import { patch } from "@web/core/utils/patch"; import { CustomerDisplayPosAdapter } from "@point_of_sale/app/customer_display/customer_display_adapter"; patch(CustomerDisplayPosAdapter.prototype, { + getCurrencySymbol(order) { + return order.currency?.symbol || ""; + }, + formatOrderData(order) { super.formatOrderData(order); this.data.partner_id = order.getPartnerName(); this.data.amountPerGuest = order.amountPerGuest(); this.data.is_refund = order.is_refund; + this.data.currency_symbol = this.getCurrencySymbol(order); }, });