跳至內容
選單
此問題已被標幟
125 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
4月 25
1348
1
8月 24
2136
3
5月 24
11348
1
9月 23
3660
0
8月 23
1749