diff options
| author | Thibault Delavallée <tde@openerp.com> | 2015-11-19 16:13:27 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2015-11-20 11:25:17 +0100 |
| commit | feb86ae38cc08466f072e6d67b59b4a59ef3eb6e (patch) | |
| tree | cbf24398d7954b450ec9e745fac7503a74796e91 | |
| parent | 104826c3115819720c6e909a7f10677980dcdd32 (diff) | |
[FIX] website_forum: no auto subscription
Remove forum creator as follower of the forum. Indeed this means that generally
the website admin will be follower of all posts of this forum. Which is
probably not really necessary.
| -rw-r--r-- | addons/website_forum/models/forum.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_forum/models/forum.py b/addons/website_forum/models/forum.py index 1f229d5d200..d2021783686 100644 --- a/addons/website_forum/models/forum.py +++ b/addons/website_forum/models/forum.py @@ -157,7 +157,7 @@ class Forum(models.Model): @api.model def create(self, values): - return super(Forum, self.with_context(mail_create_nolog=True)).create(values) + return super(Forum, self.with_context(mail_create_nolog=True, mail_create_nosubscribe=True)).create(values) @api.model def _tag_to_write_vals(self, tags=''): |
