fix(addon): inherit discuss.channel not mail.channel (renamed in Odoo 17+)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -13,8 +13,8 @@ def _strip_html(html: str) -> str:
|
|||||||
return _HTML_TAG.sub(' ', html or '').strip()
|
return _HTML_TAG.sub(' ', html or '').strip()
|
||||||
|
|
||||||
|
|
||||||
class MailChannel(models.Model):
|
class DiscussChannel(models.Model):
|
||||||
_inherit = 'mail.channel'
|
_inherit = 'discuss.channel'
|
||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
def _ai_bot_partner(self):
|
def _ai_bot_partner(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user