odoo/addons/mail
Thibault Delavallée 88b39119b8 [MERGE] [FIX] mail_gateway: better algorithm to find the partner of an incoming email when having multiple matching partners for a given email address.
The mailgateway tries to find a partner that is also an user with the email_from.
If none is found, it takes the first partner with matching email.
In message_post, it tries to find the author based on the document's followers.
Indeed it is very likely that an answer comes from a follower of a document.

The whole process is not done inside the mailgateway because document
and followers related stuff belong to message_post, not to the mail gateway.

Tests have been added in mail.

bzr revid: tde@openerp.com-20130321120451-qk524qayq28sw3th
2013-03-21 13:04:51 +01:00
..
controllers [IMP] web: move controler download_attachment into mail. 2012-12-11 15:53:43 +01:00
data [FIX] mail: incorrect model in cron job config, method moved to mail.mail 2012-12-21 21:41:41 +01:00
doc [FIX] rst in mail 2013-01-18 17:55:24 +01:00
i18n Launchpad automatic translations update. 2013-03-20 05:03:21 +00:00
report [MERGE] trunk 2012-06-22 10:05:04 +02:00
security [MERGE] Sync with trunk. 2012-12-19 10:39:24 +01:00
static [IMP] mail: remove reverse list inside on_expandable 2013-03-21 09:44:19 +01:00
tests [MERGE] Sync with 7.0 2013-03-21 11:51:57 +01:00
wizard [CLEAN] mail: cleaned code of last fixes 2013-03-20 15:19:07 +01:00
__init__.py [MERGE] Sync with trunk. Cleaned a bit things lastly added in trunk/mail/tests. 2012-12-11 17:14:58 +01:00
__openerp__.py [FIX] mail: remove icons from "images" key of manifest 2013-01-31 19:48:05 +01:00
mail_alias.py [FIX] mail.alias: default alias generation now properly handles dots and emails; added tests 2013-03-20 17:10:23 +01:00
mail_alias_view.xml [MERGE] Next batch of improvements/fixes for mail.alias 2012-08-14 14:30:50 +02:00
mail_followers.py [FIX] mail: notification emails were lacking references to their parent message. 2013-03-20 13:16:33 +01:00
mail_followers_view.xml [FIX] mail: the 'type' field is deprecated in the 'ir.ui.view' model 2012-10-10 14:36:51 +05:30
mail_group.py [CLEAN] mail_group: cleaned added code, no need to pass an explicit description parameter as we have a browse object on an actualized record. 2012-12-24 14:48:14 +01:00
mail_group_menu.py [MERGE] From trunk 2012-12-17 15:43:06 +01:00
mail_group_view.xml [IMP] mail: mail_group chatter placeholder improvement. 2013-02-26 11:02:06 +01:00
mail_mail.py [FIX] mail: rpely_to of sent emails is sanitized. 2013-03-21 10:23:32 +01:00
mail_mail_view.xml [FIX] mail_mail: fixed search view group_by using fields removed between 6.1 and 7.0; added group_by author_id. 2013-03-13 16:12:27 +01:00
mail_message.py [IMP] mail_followers: improved _notify, to better manage notifications. An optional (to provide compatibility) parameter has been added, that allows to notify partners of a given messages. It checks whether a notification already exists, setting it back as unread, or create a notification pushed by email. 2013-02-26 11:57:55 +01:00
mail_message_subtype.py [CLEAN] Small cleanup of code. 2012-12-20 13:17:52 +01:00
mail_message_subtype.xml [CLEAN] mail: cleaned and updated automatic followers, now also possible on write without having to add something specific. parent_field -> relation_field on message.subtype model. Templates of automatic tracking do not use mako anymore, not necessary for small messages. Added a tmp hack in mail_message to avoid a crash, do not forget to remove it. 2012-12-19 17:42:39 +01:00
mail_message_view.xml [FIX] mail_message: fixed strings and names for read/unread filters. 2013-03-13 13:26:32 +01:00
mail_thread.py [MERGE] [FIX] mail_gateway: better algorithm to find the partner of an incoming email when having multiple matching partners for a given email address. 2013-03-21 13:04:51 +01:00
mail_thread_view.xml [IMP] indentation, remove whitespaces 2013-02-20 18:46:10 +01:00
mail_vote.py [FIX] [CLEAN] mail: fixed some access rules issues; removed now unused files. 2012-12-11 15:33:01 +01:00
res_config.py [FIX] mail: default alias_domain should be web.base.url 2012-10-08 14:03:51 +02:00
res_config_view.xml [FIX] auth_config 2012-08-17 00:55:37 +02:00
res_partner.py [CLEAN] crm, res_partner: added name on added filters; added oline breaks in big help of notification_email_send. 2013-03-13 13:51:24 +01:00
res_partner_view.xml [FIX] res_partner: mail now adds forgotten notification_email_send field; otherwise partner manager are not able to change the email reception policy for partners that are not users. 2013-03-08 13:48:35 +01:00
res_users.py [REM] removed duplicate method. 2013-03-07 09:06:16 +01:00
res_users_view.xml [RENAME] mail: res.partner: renamed notification_email_pref into notification_email_send, because this pref suffix is very ugly. 2012-08-29 13:44:24 +02:00
update.py [FIX] mail opw update field date rename 2013-02-05 23:29:22 +01:00