diff options
| author | Thibault Delavallée <tde@openerp.com> | 2015-08-26 10:59:14 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2015-08-27 17:07:02 +0200 |
| commit | e755791af8133ddc02df603e28906117c2f13fca (patch) | |
| tree | cc942516e2151bff2ca6e38cdedbea6a3b383f3f /addons/analytic_user_function | |
| parent | 09c40cfae8ee43b63b930e5afbfb5b427b7b92ef (diff) | |
[FIX] mail: various fixes
- mail_message: fixed internal subtypes
Indeed has_group works only for uid and does not care for any given recordset.
Probably we need a is_in_group method on res.users. Someone smart could code it.
- mail_message: update message before notify
This way in the various notify methods, the message is correclty updated with
needaction and recipients. Also cleaned some comments.
- mail_message: avoid email loops
Do not notify people having the same email as the message / email to propagate.
- mail_message: fix access right issues
When computing recipients and partners to email, use a sudo for some internal
computation to avoid access rights issues. Indeed public user may go through
this method (forum for example).
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
