Files
odoo_source/addons/hr_expense/static
Pierre Paridans 42838b5609 [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#79514

X-original-commit: e7cbced2ffff189f6aed9ce0b0ab8eb819dbd088
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
2021-11-08 14:08:50 +00:00
..
…