odoo / odoo/documentation

mobile.methods.showNotification not work in mobile app

Open
#5,990 1 comment 0 reactions 1 assignee View on GitHub

@adr-odoo is already working on this.

Since Oct 13, 2023.

Dominant language
reStructuredText
Stars
1.3k
Forks
12.1k
PR merge metrics
No merged PRs in 30d

Description

Hello
I am developing a module for the enterprise version of odoo 16 and I am using mobile.methods.showNotification inside it to send a notification to the users who use the mobile software. But it doesn't work and no matter what I did, I didn't understand what to do

doc:
https://www.odoo.com/documentation/16.0/developer/reference/frontend/mobile.html#showing-notification

import mobile from 'web_mobile.core'; mobile.methods.showNotification({ 'title': 'Simple Notification', 'message': 'This is a test for a simple notification' })

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.