Debian Codegraph @

addons/auth_password_policy_portal/models/ir_http.py

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