env.get() isn't an Odoo Environment method, so the existence guard silently returned without ever writing the bot's presence row. Use the 'in self.env' check instead.
env.get() isn't an Odoo Environment method, so the existence guard silently returned without ever writing the bot's presence row. Use the 'in self.env' check instead.