diff options
| author | Frédéric van der Essen <fvdessen@gmail.com> | 2015-04-13 16:18:09 +0200 |
|---|---|---|
| committer | Frédéric van der Essen <fvdessen@gmail.com> | 2015-04-13 16:18:09 +0200 |
| commit | 7d2633f0c9eeb013ff3c2204f3d4e723b45db8f7 (patch) | |
| tree | 61a9f7816d161114502f05c21e0b326f1c20c844 /addons | |
| parent | 8a91c9ea6b0892f5467a09f3abad0a8b85b71375 (diff) | |
[FIX] point_of_sale: PosModel extensions were ignored, preventing the floor plan extension from loading
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/point_of_sale/static/src/js/chrome.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/point_of_sale/static/src/js/chrome.js b/addons/point_of_sale/static/src/js/chrome.js index 360449970ae..0be0953fbd6 100644 --- a/addons/point_of_sale/static/src/js/chrome.js +++ b/addons/point_of_sale/static/src/js/chrome.js @@ -10,7 +10,6 @@ var core = require('web.core'); var _t = core._t; var QWeb = core.qweb; -var PosModel = models.PosModel; /* -------- The Order Selector -------- */ @@ -416,7 +415,7 @@ var Chrome = PosBaseWidget.extend({ this.started = new $.Deferred(); // resolves when DOM is online this.ready = new $.Deferred(); // resolves when the whole GUI has been loaded - this.pos = new PosModel(this.session,{chrome:this}); + this.pos = new models.PosModel(this.session,{chrome:this}); this.gui = new gui.Gui({pos: this.pos, chrome: this}); this.chrome = this; // So that chrome's childs have chrome set automatically this.pos.gui = this.gui; |
