summaryrefslogtreecommitdiff
path: root/addons/mail_bot
diff options
context:
space:
mode:
authorNimesh Jethva <nje@odoo.com>2018-09-17 16:53:04 +0530
committerYannick Tivisse <yti@odoo.com>2018-09-21 11:45:15 +0200
commitdae97ee5f0aa3e6d230416aa6a9eea1c39cf7441 (patch)
tree800dc92d44140c6c4fd86b6fcf87778e5163ac7f /addons/mail_bot
parent2c1549cc597f57a8136783c29a0ee37add8024a1 (diff)
[IMP]mail_*: Improvement in model description
Purpose of this commit is to give description more "business oriented" because those descriptions appears in Odoo Studio which is supposed to be used by end users, not only by developers. Related Task ID : 37311
Diffstat (limited to 'addons/mail_bot')
-rw-r--r--addons/mail_bot/models/mail_bot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mail_bot/models/mail_bot.py b/addons/mail_bot/models/mail_bot.py
index 6c340193809..ec012fb2f6c 100644
--- a/addons/mail_bot/models/mail_bot.py
+++ b/addons/mail_bot/models/mail_bot.py
@@ -9,6 +9,7 @@ from odoo import models, _
class MailBot(models.AbstractModel):
_name = 'mail.bot'
+ _description = 'Mail Bot'
def _apply_logic(self, record, values, command=None):
""" Apply bot logic to generate an answer (or not) for the user