def METHOD_NAME(self, exchange_record, code, **kw):
    """Render another template matching `code`.
    This is very handy to render templates from other templates.
    """
    tmpl = self.search([("code", "=", code)], limit=1)
    tmpl.ensure_one()
    return tmpl.exchange_generate(exchange_record, **kw)