Odoo18-Base/addons/mail_bot/models/mail_channel.py
2025-03-10 11:12:23 +07:00

13 lines
392 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import api, models, _
class Channel(models.Model):
_inherit = 'mail.channel'
def execute_command_help(self, **kwargs):
super().execute_command_help(**kwargs)
self.env['mail.bot']._apply_logic(self, kwargs, command="help") # kwargs are not usefull but...