refactor: rename ClosingPopup to ClosePosPopup in hardware proxy patch
This commit is contained in:
parent
3fbccec8e3
commit
bc57d58e4a
@ -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(() => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user