blob: b52a155d3cc1fd777de237cc07c50e3aea4db88d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
odoo.define('point_of_sale.PosContext', function (require) {
'use strict';
const { Context } = owl;
// Create global context objects
// e.g. component.env.device = new Context({ isMobile: false });
return {
orderManagement: new Context({ searchString: '', selectedOrder: null }),
chrome: new Context({ showOrderSelector: true }),
};
});
|