odoo18/addons/portal_rating/models/mail_thread.py

11 lines
297 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models
class MailThread(models.AbstractModel):
_inherit = 'mail.thread'
def _get_allowed_message_post_params(self):
return super()._get_allowed_message_post_params() | {"rating_value"}