mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
14 lines
304 B
Python
14 lines
304 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class Message(models.Model):
|
|
_inherit = "mail.message"
|
|
|
|
def _message_add_reaction(self, content):
|
|
super(Message, self)._message_add_reaction(content)
|
|
if self.create_uid.gpt_id:
|
|
# 处理反馈
|
|
pass
|