[IMP] pos_self_order: alignment of qr menu button in settings

before this commit, in the pos settings when the qr code
menu is activated, the buttons Generate QR Codes, Configure
Buttons, Preview is not aligned properly

after this commit, the button will be aligned properly
in the settings.

closes odoo/odoo#129095

Signed-off-by: Vlad Stroia (vlst) <vlst@odoo.com>
This commit is contained in:
niyasraphy
2023-08-17 18:42:29 +02:00
parent 8127947af5
commit ec89c3e960
@@ -8,13 +8,13 @@
<setting id="iface_orderline_notes" position="after">
<setting string="QR Code Menu" help="Allow customers to see the menu from their phone">
<field name="pos_self_order_view_mode"/>
<div class="content-group d-flex gap-5" attrs="{'invisible': [('pos_self_order_view_mode','=',False)]}">
<div class="content-group d-flex" attrs="{'invisible': [('pos_self_order_view_mode','=',False)]}">
<div class="d-flex flex-column align-items-start w-50">
<button class="btn-link p-0" icon="oi-arrow-right" name="pos_self_order.custom_link_action" type="action" string="Configure Buttons"/>
<button class="btn-link p-0" icon="oi-arrow-right" name="generate_qr_codes_page" type="object" string="Generate QR Codes"/>
<button class="btn-link p-0" icon="oi-arrow-right" name="preview_self_order_app" type="object" string="Preview"/>
</div>
<div class="d-flex flex-column align-items-start">
<div class="d-flex flex-column align-items-start w-50">
<div class="d-flex flex-column align-items-start">
<field name="pos_self_order_image_name" invisible ="1"/>
<label for="pos_self_order_image" string="Set Background Image"/>