diff options
| author | Damien Bouvy <dbo@odoo.com> | 2016-10-12 11:21:25 +0200 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2016-10-12 11:23:34 +0200 |
| commit | a3509d282d59b38e9b4c032c287e1d779000ba64 (patch) | |
| tree | 99b00de0a840317abc46b5f2f1c2890a88401718 /doc/reference | |
| parent | d98e5bb68aeb7ec5f34cbc5416bd21ebd76951a2 (diff) | |
[FIX] mail: use explicit 'active' domain for user count in ping
Before the migration to the new API of this code, the context was
not propagated to the update_notification call.
This is now the case, which is unfortunate since the context of the
cron action has an 'active_test'=False key, which causes the ping
to count user differently when the cron is triggered from the form
view.
This commit adds explicit ('active','=',True) domain to ensure we
only count active users when pinging.
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions
