Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
162 Vizualizări

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
apr. 25
1353
1
aug. 24
2149
3
mai 24
11391
1
sept. 23
3663
0
aug. 23
1755