From af4e446a7e26fff5266448c1af489b4ec144f6a4 Mon Sep 17 00:00:00 2001 From: Suherdy Yacob Date: Fri, 5 Jun 2026 16:11:59 +0700 Subject: [PATCH] feat: hide invoice button in ticket screen via XML patch --- __manifest__.py | 2 ++ .../src/app/screens/ticket_screen/ticket_screen_patch.xml | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 static/src/app/screens/ticket_screen/ticket_screen_patch.xml diff --git a/__manifest__.py b/__manifest__.py index 6d652c9..6003ec2 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -35,6 +35,8 @@ Features 'pos_ui_optimization/static/src/app/screens/product_screen/order_summary/safe_release_patch.js', # Payment screen patches 'pos_ui_optimization/static/src/app/screens/payment_screen/payment_screen_patch.xml', + # Ticket screen patches + 'pos_ui_optimization/static/src/app/screens/ticket_screen/ticket_screen_patch.xml', # Portrait mode — service must load first 'pos_ui_optimization/static/src/app/services/portrait_mode.js', # Navbar display-mode toggle diff --git a/static/src/app/screens/ticket_screen/ticket_screen_patch.xml b/static/src/app/screens/ticket_screen/ticket_screen_patch.xml new file mode 100644 index 0000000..39d286a --- /dev/null +++ b/static/src/app/screens/ticket_screen/ticket_screen_patch.xml @@ -0,0 +1,8 @@ + + + + + false + + +