summaryrefslogtreecommitdiff
path: root/addons/mail_bot/models
diff options
context:
space:
mode:
authorXavierDo <xdo@odoo.com>2018-08-21 10:49:29 +0200
committerXavierDo <xdo@odoo.com>2018-08-21 13:44:33 +0200
commit616fa4f6e4f3eeae845b06b4e43173a3081f63a0 (patch)
tree1c72d6e4a34af3d39c22721f28f9e9a2b275de1f /addons/mail_bot/models
parente8f01b94ce8f4aeed7e573821bcfd73d6c20024c (diff)
[IMP] mail_bot: change Odoobot to OdooBot
Diffstat (limited to 'addons/mail_bot/models')
-rw-r--r--addons/mail_bot/models/mail_bot.py2
-rw-r--r--addons/mail_bot/models/res_users.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail_bot/models/mail_bot.py b/addons/mail_bot/models/mail_bot.py
index 92d2272a760..0d311922cc1 100644
--- a/addons/mail_bot/models/mail_bot.py
+++ b/addons/mail_bot/models/mail_bot.py
@@ -75,7 +75,7 @@ class MailBot(models.AbstractModel):
_("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 random.choice([_("Yep, OdooBot is in the place!"), _("Pong.")])
return False
def _body_contains_emoji(self, body):
diff --git a/addons/mail_bot/models/res_users.py b/addons/mail_bot/models/res_users.py
index 2905e3d8f5e..226667f6ae7 100644
--- a/addons/mail_bot/models/res_users.py
+++ b/addons/mail_bot/models/res_users.py
@@ -14,4 +14,4 @@ class Users(models.Model):
('onboarding_ping', 'Onboarding ping'),
('idle', 'Idle'),
('disabled', 'Disabled'),
- ], string="Odoobot Status", readonly=True, required=True, default="not_initialized") # keep track of the state: correspond to the code of the last message sent
+ ], string="OdooBot Status", readonly=True, required=True, default="not_initialized") # keep track of the state: correspond to the code of the last message sent