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

/** @odoo-module **/
// Pos session
var { PosGlobalState, Order } = require('point_of_sale.models');
const Registries = require('point_of_sale.Registries');
const NewPosGlobalState = (PosGlobalState) => class NewPosGlobalState extends PosGlobalState {
async _processData(loadedData) {
// Load field that in pos.order.question into pos.
await super._processData(...arguments);
this.order_questions = loadedData['pos.order.question'];
}
}
Registries.Model.extend(PosGlobalState, NewPosGlobalState);