diff --git a/addons/point_of_sale/static/src/js/pos_widgets.js b/addons/point_of_sale/static/src/js/pos_widgets.js index 4bb6ba19f0a..a2f0db5f336 100644 --- a/addons/point_of_sale/static/src/js/pos_widgets.js +++ b/addons/point_of_sale/static/src/js/pos_widgets.js @@ -825,6 +825,10 @@ function openerp_pos_widgets(module, instance){ //module is instance.point_of_sa this.buildWidgets(); instance.webclient.set_content_full_screen(true); + if (self.pos.get('account_journals').length === 0) { + // TODO: Create a popup to inform there is no PoSSession for this user + self.pos.screen_selector.show_popup('error'); + } }, this)); }, render: function() {