diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-03-07 16:05:49 +0100 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-03-07 16:05:49 +0100 |
| commit | df1cfd1e8f1b8f65bc5e28fecf7c9b79aefd4aa7 (patch) | |
| tree | d3134033fd2dcb49476f062db47cce78127bf184 | |
| parent | 8c65ef53b93e6e1a8bdc8082b6d3706443875fc5 (diff) | |
[imp] changed the way the point of sale switch to fullscreen
bzr revid: nicolas.vanhoren@openerp.com-20120307150549-rzkjz0j79l6mpjqs
| -rw-r--r-- | addons/point_of_sale/static/src/js/pos.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/addons/point_of_sale/static/src/js/pos.js b/addons/point_of_sale/static/src/js/pos.js index 1885604d42c..8554877d506 100644 --- a/addons/point_of_sale/static/src/js/pos.js +++ b/addons/point_of_sale/static/src/js/pos.js @@ -1325,8 +1325,7 @@ openerp.point_of_sale = function(db) { }); pos.app = new App(self.$element); - $('.oe_toggle_secondary_menu').hide(); - $('.oe_footer').hide(); + db.webclient.set_content_full_screen(true); if (pos.store.get('account.bank.statement').length === 0) return new db.web.Model("ir.model.data").get_func("search_read")([['name', '=', 'action_pos_open_statement']], ['res_id']).pipe( @@ -1384,8 +1383,7 @@ openerp.point_of_sale = function(db) { }, this)); }, destroy: function() { - $('.oe_footer').show(); - $('.oe_toggle_secondary_menu').show(); + db.webclient.set_content_full_screen(false); pos = undefined; this._super(); } |
