diff options
| author | dmonzonis <mod@odoo.com> | 2020-04-10 10:26:47 +0000 |
|---|---|---|
| committer | dmonzonis <mod@odoo.com> | 2020-04-10 11:15:19 +0000 |
| commit | 3ba7186752e3766e897118f13e2df9b1a6484b5b (patch) | |
| tree | 07fcd5906e5c823a05843c093b4915d94180f7c7 /addons/mail_bot/models | |
| parent | 328f6dbc984312049e94413fe9a46284cffcb3cb (diff) | |
[IMP] mail_bot: Remove OdooBot ping answers
Many users have complained about the automated OdooBot answers like
"Pong" when the bot is pinged, that fill the chatter when the user has
the mail_bot module installed, and add no real value.
Diffstat (limited to 'addons/mail_bot/models')
| -rw-r--r-- | addons/mail_bot/models/mail_bot.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/mail_bot/models/mail_bot.py b/addons/mail_bot/models/mail_bot.py index 10686b14ba3..7a4aebee197 100644 --- a/addons/mail_bot/models/mail_bot.py +++ b/addons/mail_bot/models/mail_bot.py @@ -75,8 +75,6 @@ class MailBot(models.AbstractModel): _("I'm afraid I don't understand. Sorry!"), _("Sorry I'm sleepy. Or not! Maybe I'm just trying to hide my unawareness of human language...<br/>I can show you features if you write")+ ": '<b>"+_('start the tour')+"</b>'.", ]) - elif self._is_bot_pinged(values): - return random.choice([_("Yep, OdooBot is in the place!"), _("Pong.")]) return False def _body_contains_emoji(self, body): |
