Skip to content
Snippets Groups Projects
Commit 02ab64e1 authored by Philippe Wauthy's avatar Philippe Wauthy
Browse files

[FIX] hr_attendance: fix barcode layout


In the Odoo Community edition, the barcode picture to invite the user to scan his badge
in kiosk mode has no size restriction. This creates a layout issue when displaying the attendance
kiosk mode in community.

This commit fixes the layout by restricting the size of the picture to the size of the enterprise version.

task-3036986

closes odoo/odoo#103763

Signed-off-by: default avatarKevin Baptiste <kba@odoo.com>
parent 82d4f0cd
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@
<img t-attf-src="{{widget.company_image_url}}" alt="Company Logo" class="o_hr_attendance_kiosk_company_image align-self-center img img-fluid mb-3" width="200"/>
<div class="o_hr_attendance_kiosk_welcome_row d-flex flex-column pb-5">
<div class="col-md-5 mt-5 mb-5 mb-md-0 align-self-center" t-if="widget.kiosk_mode != 'manual'">
<img src="/barcodes/static/img/barcode.png" alt="Barcode"/>
<img src="/barcodes/static/img/barcode.png" alt="Barcode" style="width: 115px;height: 60px"/>
<h6 class="mt-2 text-muted">Scan your badge</h6>
</div>
<div class="mt-5 align-self-end" t-if="widget.kiosk_mode == 'barcode_manual'">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment