Odoo18-Base/addons/portal_rating/models/mail_thread.py
2025-01-06 10:57:38 +07:00

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"}