You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
458 B

/** @odoo-module */
import { patch } from "@web/core/utils/patch";
import { PosStore } from "@point_of_sale/app/store/pos_store";
//Patching the PosStore to load the data from the model pos.custom.message
patch(PosStore.prototype, {
//For loading the data from the model pos.custom.message
async _processData(loadedData) {
await super._processData(...arguments);
this.pos_custom_message = loadedData["pos.custom.message"];
}
});