Merge pull request #5823 from expsa/ENS-3799

[IMP] odex_benefit: load module translations in website
This commit is contained in:
abdurrahman-saber 2025-12-25 14:46:33 +04:00 committed by GitHub
commit 420ce0dc57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 1 deletions

View File

@ -40,4 +40,5 @@ from . import res_partner
from . import job_settings
from . import death_reason_settings
from . import benefit_vehicle_model
from . import visit_survey
from . import visit_survey
from . import ir_http

View File

@ -0,0 +1,10 @@
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 + ['odex_benefit']