[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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user