[IMP] point_of_sale: move menu options
-Move menu options to have 'Close session' and 'Backend' at the bottom of the list task id: 3759943 closes odoo/odoo#154998 Signed-off-by: Vlad Stroia (vlst) <vlst@odoo.com>
This commit is contained in:
@@ -35,7 +35,24 @@
|
||||
Cash In/Out
|
||||
</a>
|
||||
</li>
|
||||
<li class="menu-item navbar-button" t-on-click="() => pos.toggleImages('product')">
|
||||
<a class="dropdown-item py-2">
|
||||
<t t-if="pos.show_product_images">Hide Product Images</t>
|
||||
<t t-else="">Show Product Images</t>
|
||||
</a>
|
||||
</li>
|
||||
<li class="menu-item navbar-button" t-on-click="() => pos.toggleImages('category')">
|
||||
<a class="dropdown-item py-2">
|
||||
<t t-if="pos.show_category_images">Hide Category Images</t>
|
||||
<t t-else="">Show Category Images</t>
|
||||
</a>
|
||||
</li>
|
||||
<CustomerFacingDisplayButton t-if="CustomerFacingDisplayButtonIsShown"/>
|
||||
<li t-if="showToggleProductView" class="menu-item navbar-button" t-on-click="toggleProductView">
|
||||
<a class="dropdown-item py-2">
|
||||
Switch Product View
|
||||
</a>
|
||||
</li>
|
||||
<li class="backend-button" t-on-click="() => pos.closePos()">
|
||||
<a class="dropdown-item py-2">
|
||||
Backend
|
||||
@@ -46,23 +63,6 @@
|
||||
Close Session
|
||||
</a>
|
||||
</li>
|
||||
<li t-if="showToggleProductView" class="menu-item navbar-button close-button" t-on-click="toggleProductView">
|
||||
<a class="dropdown-item py-2">
|
||||
Switch Product View
|
||||
</a>
|
||||
</li>
|
||||
<li class="menu-item navbar-button close-button" t-on-click="() => pos.toggleImages('product')">
|
||||
<a class="dropdown-item py-2">
|
||||
<t t-if="pos.show_product_images">Hide Product Images</t>
|
||||
<t t-else="">Show Product Images</t>
|
||||
</a>
|
||||
</li>
|
||||
<li class="menu-item navbar-button close-button" t-on-click="() => pos.toggleImages('category')">
|
||||
<a class="dropdown-item py-2">
|
||||
<t t-if="pos.show_category_images">Hide Category Images</t>
|
||||
<t t-else="">Show Category Images</t>
|
||||
</a>
|
||||
</li>
|
||||
<li t-if="this.env.debug" class="menu-item navbar-button" t-on-click="() => debug.toggleWidget()">
|
||||
<a class="dropdown-item py-2">
|
||||
Debug Window
|
||||
|
||||
Reference in New Issue
Block a user