Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: API Log

Entity: api.log

Compute Method: _compute_response_preview

View 18.0
Inputs Method Outputs
  • response_body
- for log in self.with_context(bin_size=False):
-             log.response_preview = log._body_preview(log.response_body)
  • response_preview

Back to entity