-
-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🚑 sent messages displaying issue #229
🚑 sent messages displaying issue #229
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 installable module is updated:
└─ mail_sent/
├─ __manifest__.py
├─ doc/
| └─ changelog.rst
└─ static/
└─ src/
└─ js/
└─ sent.js
Not installable modules remain unchanged.
sent by ✌️ Odoo Review Bot
------- | ||
|
||
- **Imp:** Not all channel messages are shown if page was refreshed on a channel screen | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has to be tested
if (message) { | ||
var current_threads = message._threadIDs; | ||
var new_channels = data.channel_ids; | ||
if (_.without(new_channels, ...current_threads).length) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'spread/rest operator' is only available in ES6 (use 'esversion: 6').
} | ||
} else if (data.author_id && data.author_id[0] && odoo.session_info.partner_id && | ||
data.author_id[0] === odoo.session_info.partner_id) { | ||
data.channel_ids.push('mailbox_channel_sent'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Нет проверки, что сообщение имело получателя. Клиентская часть расходится с определением поля sent на сервере
🍒 module name change
No description provided.