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

Module: Attachment Synchronize

Entity: fs.storage

Compute Method: _compute_import_task_count

Inputs Method Outputs
for rec in self:
            rec.import_task_count = len(
                rec.synchronize_task_ids.filtered(lambda t: t.method_type == "import")
            )

Back to entity