ir_http.py 343 B

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