diff options
| author | Jeremy Kersten <jke@odoo.com> | 2016-12-20 17:07:39 +0100 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2016-12-20 17:58:03 +0100 |
| commit | 3f267a5951e803b2af6c3b46eb53ae787dd68fc1 (patch) | |
| tree | 4ea0eaacfbc5be3633b69d0df3460e38198bead7 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | 8416c2bcfa0fded20fa4f4fb7bb0f05e6cb5787a (diff) | |
[FIX] mail: avoid to send email about assignation to active_domain.
Before this commit, 'select all' into a list view, and use an action that assign
a user_id to all the records will send n² email, because the function send_mail
use active_domain instead of the current record.
Now, we keep mass_mail mode, but simulate the case where we have clicked on
each record one by one and not all the records matching the active_domain.
So we send only one email by record.
How to reproduce:
create a action server "record.write(dict(user_id=env.user_id))"
add this action in context menu
select all records in a list and apply the action server
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
