From b1becf98e909c3be113e66fbeda32fed0ecea73c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Wed, 27 Apr 2016 15:08:32 +0200 Subject: [PATCH] [FIX] point_of_sale: prevent crash when loading With a recent change in web client, the point of sale could not load anymore, because the web_client code tried to call this.menu.reflow(), but point of sale overrided the show_application, and this.menu is not even instantiated. Since the point of sale actually want a barebone web client, instead of using the full web client, removing some of its features, and then fixing the problems each time a change in web_client breaks it, this commit ensure that the point of sale is started with just what it needs --- addons/point_of_sale/views/pos_templates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/point_of_sale/views/pos_templates.xml b/addons/point_of_sale/views/pos_templates.xml index 9b60bed43e1..64ab2220d9a 100644 --- a/addons/point_of_sale/views/pos_templates.xml +++ b/addons/point_of_sale/views/pos_templates.xml @@ -31,7 +31,7 @@