odoo18/addons/point_of_sale/models/ir_http.py

11 lines
262 B
Python

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 + ['point_of_sale']