summaryrefslogtreecommitdiff
path: root/addons/website_blog/models
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2020-01-27 15:25:56 +0000
committerJeremy Kersten <jke@odoo.com>2020-02-03 15:25:20 +0000
commitd92f76592c1929e4cf876c615e3be03621b17abd (patch)
tree6ed7fde6097ee4172f7556cb97a2f46c597f89bb /addons/website_blog/models
parent9725e61969c0cedc8ec700c3e60a5e8a9e83e89a (diff)
[IMP] website(_blog/_slides): show a toaster when a record is published
This commit shows a toaster when publishing a record through the toggle in the topbar. The `_description` field is used to do that, as it is supposed to contains a 'business oriented' descriptive name, see task-37311. Indeed, this field is used in studio and in mail templates. task-2144335
Diffstat (limited to 'addons/website_blog/models')
-rw-r--r--addons/website_blog/models/website_blog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_blog/models/website_blog.py b/addons/website_blog/models/website_blog.py
index 80b91b8822a..31ba2a6a77b 100644
--- a/addons/website_blog/models/website_blog.py
+++ b/addons/website_blog/models/website_blog.py
@@ -13,7 +13,7 @@ from odoo.tools import html2plaintext
class Blog(models.Model):
_name = 'blog.blog'
- _description = 'Blogs'
+ _description = 'Blog'
_inherit = ['mail.thread', 'website.seo.metadata', 'website.multi.mixin']
_order = 'name'