Change the default chat message (Odoo's chat helps employees .....)
/odoo/lib/odoo-18.0.post20241005-py3.12.egg/odoo/addons/mail_bot/models/res_users.py
def _init_odoobot(self):
self.ensure_one()
odoobot_id = self.env['ir.model.data']._xmlid_to_res_id("base.partner_root")
channel = self.env['discuss.channel'].channel_get([odoobot_id, self.partner_id.id])
message = Markup("%s<br/>%s<br/><b>%s</b> <span class=\"o_odoobot_command\">:)</span>") % (
_("Hello,"),
_("We will help employees collaborate efficiently. I'm here to help you discover its features."),
_("Try to send me an emoji")
)
channel.sudo().message_post(body=message, author_id=odoobot_id, message_type="comment", subtype_xmlid="mail.mt_comment")
self.sudo().odoobot_state = 'onboarding_emoji'
return channel