mail_channel.py 392 B

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