From 534ff9dd8c2d5ac16163b93ece18f9798ad98e48 Mon Sep 17 00:00:00 2001 From: Joren Van Onder Date: Wed, 13 Apr 2016 08:50:23 +0200 Subject: [PATCH] [FIX] point_of_sale: hide non-active pos.configs from dashboard The introduction of the new pos.config dashboard at 48ab50ed0d668537cfd1bb97fb45c862ed7dc93c does not filter non-active pos.configs. There are no constraints against opening sessions on inactive or deprecated pos.configs so after deprecating/inactivating users could still open new sessions through the dashboard. opw-673020 --- addons/point_of_sale/point_of_sale_view.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/point_of_sale/point_of_sale_view.xml b/addons/point_of_sale/point_of_sale_view.xml index b54c1892c13..5720fac7c6c 100644 --- a/addons/point_of_sale/point_of_sale_view.xml +++ b/addons/point_of_sale/point_of_sale_view.xml @@ -979,6 +979,7 @@ form kanban,tree,form + [('state','=','active')]

Click to create a new PoS config.