- [FIX] [IMP] mail_thread: allow to use message_post on models not having message_post method defined. mail_compose_message.send() wizard and mail_thread.message_process() now check that the active model has message_post defined. Otherwise using thread_model context key, it is possible to use mail_thread.message_post() while keeping model and res_id on the created mail_message.
- [FIX] [TESTS] mail_message, mail_mail: fixed reply_to and email_from default / specified values + added tests (mostly backported from trunk)
- [IMP] mail_message, mail_followers: _notify now have 2 new arguments force_send and user_signature. force_send allows to immediately send the notification emails. user_signature tells whether to add the author's signature in the notification emails sent.
- [FIX] mail_message: notified people: when having no subtype, just avoid notifying the followers but take into account specified recipients (partner_ids).
- [FIX] mail_mail: removed duplicate field email_from, as it is already defined on mail_message (mail_mail inherits from mail_message).
- [IMP] mail_mail: no need to search on type = email in list view.
- [FIX] email_template: allow to add a context action even without having create access on ir.values and ir.action by using SUPERUSER_ID.
- [FIX] mail_compose_message: support user_signature of template. Note that in case of multiple wizards (having ids), user_signature=False on one template is used for all wizards.
- [FIX] mass mailing: emails due to mass mailing are not queued instead of sent immediately.
- [IMP] Chatter: better display of recipients when having a message_post due to mass mailing (not always displaying logged a note).
bzr revid: tde@openerp.com-20130607101641-5h6z2707tu0f3i2n
mail.compose.message wizard and messaage_process now check that the active model
has message_post defined. Otherwise using thread_model context key that is better
managed in message_post, it is possible to use mail_thread.message_post() with a
thread_model and thread_id that should not allow message_post otherwise.
Hint: look for backport into 7.0
bzr revid: tde@openerp.com-20130606123230-d7ql14yydzfrlc7h
Mass mailing: emails due to mass mailing are not queued instead of sent immediately.
As most of cases go through mail_followers._notify(), a new argument is added that
allows to control the force_send (like what is done in email_template).
Chatter: better display of recipients when having a message_post due to mass mailing
(not always displaying logged a note).
Notified people: when having no subtype, just avoid notifying the followers but
take into account specified recipients (partner_ids).
bzr revid: tde@openerp.com-20130606102437-43s4xp96b5wa3r1q
Addons-side branch:
- mail_mail.send() and email_template.send() are now able to get the ir_mail_server exceptions up using a new argument (raise_exception, as for access rights); default behavior of all calls to those methods is not changed;
- auth_signup
-- handles the (re)set password email sending possible failure by cancelling the reset password values; having issues with the outgoing email server should not prevent from creating users but should not consider the email was sent if it was not the case;
-- instead of having reset_password in context to send the reset password email, we now have a no_reset_password to avoid sending a reset password email. If not present, the reset password email is sent when creating a user. This allows to avoid adding the key in the context of each res.users many2one;
-- res.users form view (re)set password buttons now have the oe_link class
bzr revid: tde@openerp.com-20130604155001-5twq3pdru12eh1x6
Server-side branch:
- res.users simplified form view: login field is called 'Email Address' to try to have email-style login (byt no constraint on the login currently; email and login are still different fields);
- res.users form view: removed contact fields from the user view, but added a link to the partner. It allows to go from the user to the related partner and have access to all its profile data;
- res.partner: email is necessary if user_ids is not empty (aka, partner is an user)
bzr revid: tde@openerp.com-20130604154515-0msg7b57luox54sr