The rating_card view was not translated for a portal user opw-2408859 closes odoo/odoo#62698 X-original-commit: 8cd0315702247b65758bd9a392a2520440500485 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
14 lines
373 B
Python
14 lines
373 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import models
|
|
|
|
|
|
class IrHttp(models.AbstractModel):
|
|
_inherit = 'ir.http'
|
|
|
|
@classmethod
|
|
def _get_translation_frontend_modules_name(cls):
|
|
mods = super(IrHttp, cls)._get_translation_frontend_modules_name()
|
|
return mods + ['portal_rating']
|