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
401 B

/** @odoo-module */
import { PosStore } from "@point_of_sale/app/store/pos_store";
import { patch } from "@web/core/utils/patch";
patch(PosStore.prototype, {
/**
*Override PosGlobalState to load fields in pos session
*/
async _processData(loadedData) {
await super._processData(...arguments);
this.hr_employee = loadedData['hr.employee'];
}
});