refactor: update popup imports to use ConfirmationDialog and AlertDialog from @web/core

This commit is contained in:
Suherdy Yacob 2026-05-06 10:21:53 +07:00
parent 7c7c336389
commit 397da50866

View File

@ -3,8 +3,7 @@
import { PosStore } from "@point_of_sale/app/services/pos_store";
import { PosOrderline } from "@point_of_sale/app/models/pos_order_line";
import { patch } from "@web/core/utils/patch";
import { ConfirmPopup } from "@point_of_sale/app/utils/confirm_popup/confirm_popup";
import { ErrorPopup } from "@point_of_sale/app/errors/popups/error_popup";
import { ConfirmationDialog as ConfirmPopup, AlertDialog as ErrorPopup } from "@web/core/confirmation_dialog/confirmation_dialog";
import { _t } from "@web/core/l10n/translation";
import { OrderReceipt } from "@point_of_sale/app/screens/receipt_screen/receipt/order_receipt";
import { onError } from "@odoo/owl";