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.
11 lines
459 B
11 lines
459 B
/** @odoo-module */
|
|
/** Loading all currencies and its parameters.*/
|
|
import Registries from 'point_of_sale.Registries';
|
|
import { PosGlobalState } from "point_of_sale.models";
|
|
const NewPosGlobalState = (PosGlobalState) => class NewPosGlobalState extends PosGlobalState {
|
|
async _processData(loadedData) {
|
|
await super._processData(...arguments);
|
|
this.your_model = loadedData['res.currency'];
|
|
}
|
|
}
|
|
Registries.Model.extend(PosGlobalState, NewPosGlobalState);
|
|
|