Odoo18-Base/addons/rating/controllers/thread.py
2025-01-06 10:57:38 +07:00

10 lines
301 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.addons.mail.controllers import thread
class ThreadController(thread.ThreadController):
def _get_allowed_message_post_params(self):
return super()._get_allowed_message_post_params() | {"rating_value"}