Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
143 มุมมอง

We added partial functionality to odoo pos, it was working but now not working somehow.

when Load order button clicked it is passing order to function

async _setOrder(order) {

        if (this.pos.isOpenOrderShareable()) {

            await this.pos.syncAllOrders();

        }

        console.log('working....');

        console.log(order)

        this.pos.set_order(order);

        this.closeTicketScreen();

    }

and order showing in this function too pos_store.js

  set_order(order, options) {

        if (this.get_order()) {

            this.get_order().updateSavedQuantity();

        }

        console.log(order.finalized)

        this.selectedOrderUuid = order?.uuid;

    }

but not setting this order to when loaded.

we write overwrite validateOrder function and write custom backend

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
เม.ย. 25
1350
1
ส.ค. 24
2142
How to delete POS Sessions! Odoo 16 แก้ไขแล้ว
3
พ.ค. 24
11371
POS Session wont close แก้ไขแล้ว
1
ก.ย. 23
3662
0
ส.ค. 23
1751