Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Job Queue Profiler
Entity: queue.job
Compute Method: _compute_job_is_profiled
| Inputs | Method | Outputs |
|---|---|---|
|
- for job in self: - if not job.job_function_id: - # cannot be profiled if it has no function - job.job_is_profiled = False - continue - profile_name = job.job_function_id._profile_make_name(job) - job.job_is_profiled = bool(job._profiler_get_record(profile_name)) |
|
