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

Module: Document Management System

Entity: dms.file

Compute Method: _compute_extension

Inputs Method Outputs
for record in self:
            record.extension = file.guess_extension(
                record.name, record.mimetype, record.content
            )

Back to entity