Debian Codegraph @

addons/pos_restaurant_loyalty/static/src/overrides/models/pos_store.js

raw
1 /** @odoo-module */
2
3 import { patch } from "@web/core/utils/patch";
4 import { PosStore } from "@point_of_sale/app/services/pos_store";
5
6 patch(PosStore.prototype, {
7 // @Override
8 async setTable(table, orderUid = null) {
9 await super.setTable(...arguments);
10 await this.updateRewards();
11 },
12 });