summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml
diff options
context:
space:
mode:
authorJérome Maes <jem@openerp.com>2015-09-16 18:15:00 +0200
committerJérome Maes <jem@openerp.com>2015-09-18 11:50:29 +0200
commit83f15283bf4021c204367ed72d464c46cba87912 (patch)
treefc40c41eed9897640e52156d0b24a3266f5da74b /addons/mail/static/src/xml
parent6863826d0dc2ab774d9d5408b6585f4bd37b8140 (diff)
[FIX] mail : fix needaction generation
When creating a document a message is posted (ex: 'document created') and the track field users are auto added as follower and notified with the last posted message (like the just create message). So the author was notify of the creation of its own document. The problem did not appears using form view, beacause when the mail.message were reloaded, the thread was mark as read, so the partner (author/creator) was directly removed from the needaction_partner_ids field. The issue happen when loading the demo data, generating many needaction for the admin user (creator of most of the document). This bugfix remove the current partner from the new follower to subscribe and to notify with the last posted message, as done when a message is posted (in _notify method of mail.message).
Diffstat (limited to 'addons/mail/static/src/xml')
0 files changed, 0 insertions, 0 deletions