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_request_headers_derived

Inputs Method Outputs
for log in self:
            headers = log.request_headers or {}
            log.request_content_type = headers.get("content-type", "")
            log.request_content_length = headers.get("content-length", 0)
            log.referrer = headers.get("referer", "")

Back to entity