[FIX] point_of_sale: hide non-active pos.configs from dashboard

The introduction of the new pos.config dashboard at
48ab50ed0d 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
This commit is contained in:
Joren Van Onder
2016-04-13 09:16:04 +02:00
parent 10e1d45db9
commit 534ff9dd8c
@@ -979,6 +979,7 @@
<field name="view_type">form</field>
<field name="view_mode">kanban,tree,form</field>
<field name="search_view_id" ref="view_pos_config_search" />
<field name="domain">[('state','=','active')]</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to create a new PoS config.