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

12 lines
344 B
Python

# 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()._get_translation_frontend_modules_name()
return mods + ['auth_password_policy']