[IMP]: point_of_sale: button added to close session in pos_config form if session is active
This change allows the user to directly go to the closing session page from the `pos_config` settings if a session is active Task ID: 2419637
This commit is contained in:
committed by
Pierre Masereel
parent
5dd5fdb6d3
commit
bbd5101c7d
@@ -43,7 +43,8 @@
|
||||
<h1><field name="name" placeholder="e.g. NYC Shop"/></h1>
|
||||
</div>
|
||||
<div class="o_notification_alert alert alert-warning" attrs="{'invisible':[('has_active_session','=', False)]}" role="alert">
|
||||
A session is currently opened for this PoS. Some settings can only be changed after the session is closed.
|
||||
A session is currently opened for this PoS. Some settings can only be changed after the session is closed.
|
||||
<button class="btn" style="padding:0" name="open_existing_session_cb" type="object">Click here to close the session</button>
|
||||
</div>
|
||||
<div class="row mt16 o_settings_container">
|
||||
<div id="company" class="col-12 col-lg-6 o_setting_box" groups="base.group_multi_company">
|
||||
|
||||
Reference in New Issue
Block a user