Browse Source

Merge pull request #245 from em230418/11.0-mail_base-fix-read-notifications2

commit is created by 👷‍♂️ Merge Bot: https://odoo-devops.readthedocs.io/en/latest/git/github-merge-bot.html
pull/248/head
Mitchell Admin 5 years ago
committed by GitHub
parent
commit
75c32b5a17
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      mail_base/__manifest__.py
  2. 5
      mail_base/doc/changelog.rst
  3. 4
      mail_base/static/lib/base.js

2
mail_base/__manifest__.py

@ -7,7 +7,7 @@
"summary": """Makes Mail extendable""",
"category": "Discuss",
"images": [],
"version": "11.0.1.1.0",
"version": "11.0.1.1.1",
"author": "IT-Projects LLC, Pavel Romanchenko",
"support": "apps@it-projects.info",

5
mail_base/doc/changelog.rst

@ -1,3 +1,8 @@
`1.1.1`
-------
**Fix**: Messages were marked as read, while there were not
`1.1.0`
-------
- **New**: added ability to select channels for private message sending.

4
mail_base/static/lib/base.js

@ -986,7 +986,9 @@ chat_manager.get_messages = function (options) {
if ('ids' in options) {
// get messages from their ids (chatter is the main use case)
return this._fetchDocumentMessages(options.ids, options).then(function(result) {
chat_manager.mark_as_read(options.ids);
if (options.shouldMarkAsRead) {
chat_manager.mark_as_read(options.ids);
}
return result;
});
}

Loading…
Cancel
Save