Skip to content
Snippets Groups Projects
Commit e7cbced2 authored by Pierre Paridans's avatar Pierre Paridans
Browse files

[FIX] hr_expense: QR code shouldn't be shown on tablet


On tablet, the call-to-action to install the app shouldn't show the QR
code... to be scanned by the tablet itself.

This commit fixes it by using the platform detection instead of the
screen size.

Steps to reproduce:
- Open "Expenses" on tablet
- ensure no records are listed (use filters if needed)
- click on the call-to-action to one of the app store
=> opens the QR code's modal instead of going directly to the store

task-2349194

closes odoo/odoo#78638

Signed-off-by: default avatarAdrien Dieudonné (adr) <adr@odoo.com>
parent 1d33b105
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment