Skip to content
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

[11.0][MAIL][ADD] New folder for messages read in DISCUSS. #291

Closed
dajuayen opened this issue Jul 22, 2018 · 5 comments
Closed

[11.0][MAIL][ADD] New folder for messages read in DISCUSS. #291

dajuayen opened this issue Jul 22, 2018 · 5 comments
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Milestone

Comments

@dajuayen
Copy link
Contributor

Currently when a message arrives it appears in the INBOX folder. If a message is marked as read, the message disappears.

The objective is to be able to keep a history of the messages and have access to the messages read in a folder other than INBOX, called ARCHIVED, for example.

This will allow you to search and consult about old messages.

@dajuayen dajuayen changed the title [11.0][ADD] New folder for messages read in DISCUSS. [11.0][MAIL][ADD] New folder for messages read in DISCUSS. Jul 22, 2018
@pedrobaeza
Copy link
Member

Yeah, this can be very interesting. @gurneyalex and @simahawk I think you can be very interested in this.

@ghost
Copy link

ghost commented Oct 2, 2018

https://github.com/it-projects-llc/mail-addons a lot of good function like the describted are from this good guys

@dajuayen
Copy link
Contributor Author

dajuayen commented Nov 6, 2018

@yajo I have a doubt in JS and you can guide me.
The object 'mail.chat_manager' saves the channels of the messaging in the variable 'channels' declared in the following way outside the class itself:
https://github.com/odoo/odoo/blob/bab5ccfdd7bd2138eb41db325981dc47641678f9/addons/mail/static/src/js/chat_manager.js#L25
In addition some functions that are not accessible.

I want to add another channel for the messages read, but that I know ChatManager does offer me a method to insert it. Should I overwrite the entire class by adding variables and functions?

@yajo
Copy link
Member

yajo commented Nov 7, 2018

I recommend you to avoid doing that. Read the public interface and use it, it has methods such as post_message, get_message, get_channel, create_channel, etc., that usually should be enough for you.

@rafaelbn rafaelbn added this to the 11.0 milestone Jun 17, 2019
@github-actions
Copy link

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Dec 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

No branches or pull requests

4 participants