Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
741 Visualizzazioni

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
apr 25
1559
1
ago 24
2439
3
mag 24
12109
1
set 23
4068
0
ago 23
2006