refactor: Update POS component and service import paths to align with Odoo 19 and fix module name in manifest.

This commit is contained in:
Suherdy Yacob 2026-04-27 13:58:07 +07:00
parent e62ed4121e
commit c1b2d0f1f4
4 changed files with 5 additions and 4 deletions

@ -0,0 +1 @@
Subproject commit d13cd3b2c8712bff0eec2f38e04675aea6f95e23

View File

@ -1,9 +1,9 @@
/** @odoo-module **/
import { Component } from "@odoo/owl";
import { usePos } from "@point_of_sale/app/store/pos_hook";
import { usePos } from "@point_of_sale/app/hooks/pos_hook";
import { BluetoothConnectionStatus } from "./connection_status_widget";
import { Navbar } from "@point_of_sale/app/navbar/navbar";
import { Navbar } from "@point_of_sale/app/components/navbar/navbar";
import { patch } from "@web/core/utils/patch";
/**

View File

@ -1,7 +1,7 @@
/** @odoo-module **/
import { patch } from "@web/core/utils/patch";
import { PosPrinterService } from "@point_of_sale/app/printer/pos_printer_service";
import { PosPrinterService } from "@point_of_sale/app/services/pos_printer_service";
import { BluetoothPrinterManager, TimeoutError, PrinterNotConnectedError, TransmissionError } from "./bluetooth_printer_manager";
import { EscPosGenerator } from "./escpos_generator";
import { BluetoothPrinterStorage } from "./storage_manager";

View File

@ -1,7 +1,7 @@
/** @odoo-module **/
import { patch } from "@web/core/utils/patch";
import { PosStore } from "@point_of_sale/app/store/pos_store";
import { PosStore } from "@point_of_sale/app/services/pos_store";
import { getBluetoothPrintingServices } from "./pos_receipt_printer";
import { getErrorNotificationService } from "./error_notification_service";