[FIX] hr_attendance: open front camera in kiosk attendance
Issue: ====== Front camera doesn't open even if we set it in the configuration. Steps to reproduce the issue: ============================= - Install attendance - Go to attendance/ configuration and put front camera in barcode source - Use mobile : Go to kiosk mode and start scanning Origin of the issue: ==================== There was a typo in the props values where we assigned `employee` to `barcodeSource` opw-3621239 opw-3608019 closes odoo/odoo#145880 Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
This commit is contained in:
@@ -135,7 +135,7 @@ export async function createPublicKioskAttendance(document, kiosk_backend_info)
|
||||
employees: kiosk_backend_info.employees,
|
||||
departments: kiosk_backend_info.departments,
|
||||
kioskMode: kiosk_backend_info.kiosk_mode,
|
||||
barcodeSource: kiosk_backend_info.employees,
|
||||
barcodeSource: kiosk_backend_info.barcode_source,
|
||||
},
|
||||
dev: env.debug,
|
||||
translateFn: _t,
|
||||
|
||||
Reference in New Issue
Block a user