From bc57d58e4aa420a54626607f4ef97ffa147b1ba3 Mon Sep 17 00:00:00 2001 From: Suherdy Yacob Date: Thu, 18 Jun 2026 06:50:54 +0700 Subject: [PATCH] refactor: rename ClosingPopup to ClosePosPopup in hardware proxy patch --- static/src/js/pos_hardware_proxy_patch.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/src/js/pos_hardware_proxy_patch.js b/static/src/js/pos_hardware_proxy_patch.js index ec7e6de..5599467 100644 --- a/static/src/js/pos_hardware_proxy_patch.js +++ b/static/src/js/pos_hardware_proxy_patch.js @@ -7,7 +7,7 @@ import { patch } from "@web/core/utils/patch"; import { getBluetoothPrintingServices } from "./pos_receipt_printer"; import { PaymentScreen } from "@point_of_sale/app/screens/payment_screen/payment_screen"; import { OpeningControlPopup } from "@point_of_sale/app/components/popups/opening_control_popup/opening_control_popup"; -import { ClosingPopup } from "@point_of_sale/app/components/popups/closing_popup/closing_popup"; +import { ClosePosPopup } from "@point_of_sale/app/components/popups/closing_popup/closing_popup"; import { onMounted } from "@odoo/owl"; // Patch OpeningControlPopup to open cash drawer automatically upon loading @@ -22,8 +22,8 @@ patch(OpeningControlPopup.prototype, { } }); -// Patch ClosingPopup to open cash drawer automatically upon loading -patch(ClosingPopup.prototype, { +// Patch ClosePosPopup to open cash drawer automatically upon loading +patch(ClosePosPopup.prototype, { setup() { super.setup(...arguments); onMounted(() => {