Debian Codegraph @

addons/portal_rating/models/ir_http.py

raw
1 # -*- coding: utf-8 -*-
2 # Part of Odoo. See LICENSE file for full copyright and licensing details.
3
4 from odoo import models
5
6
7 class IrHttp(models.AbstractModel):
8 _inherit = 'ir.http'
9
10 @classmethod
11 def _get_translation_frontend_modules_name(cls):
12 mods = super()._get_translation_frontend_modules_name()
13 return mods + ['portal_rating']