How to Access Mobile API in Odoo 16
1.
Show Toast in the Device
A Toast is a simple and non-intrusive popup that provides feedback about an operation.
Best ERP Blog
2. Vibrating Device
This method allows you to vibrate the mobile device for a specified duration in milliseconds.
Best ERP Blog
3. Show Snackbar with Action
A Snackbar is a lightweight way to provide feedback, showing a brief message at the bottom of the screen
Best ERP Blog
4. Showing Notification
This method allows you to display a system-controlled notification outside of your application's normal UI.
Best ERP Blog
5. Create Contact in Device
You can use this method to create a new device contact with specific details such as name, mobile number, phone, email, etc.
Best ERP Blog
6. Scanning Barcodes
This method enables real-time barcode detection on the device.
Best ERP Blog
7. Switch Between Accounts
Finally, you can use switchAccount() to switch between different accounts on the device.
Best ERP Blog