diff --git a/odex25_base/fims_general_search_tree_view/models/ir_http.py b/odex25_base/fims_general_search_tree_view/models/ir_http.py new file mode 100644 index 000000000..2b73bf9e1 --- /dev/null +++ b/odex25_base/fims_general_search_tree_view/models/ir_http.py @@ -0,0 +1,14 @@ +# -*- 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): + """Register module for frontend JavaScript translations.""" + modules = super()._get_translation_frontend_modules_name() + return modules + ['fims_general_search_tree_view']