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

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

Back to entity