Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 17.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
3 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.03 MB
Module directory on disk
Code analysis 0 migration notes 1 model 0 views 0 HTTP endpoints

Description

This module makes the scheduled action DDMRP Buffer Warning calculation (provided by ddmrp_warning) enqueue one queue job per stock buffer instead of computing the warnings of all the buffers in a single transaction. The jobs run in the root.ddmrp channel (provided by ddmrp_cron_actions_as_job) and, thanks to identity keys, only one pending job exists at a time for the same buffer.

Technically, the <stock.buffer>._generate_ddmrp_warnings method is automatically delayed when the context contains auto_delay_ddmrp_generate_ddmrp_warnings=True. The scheduled action sets this key; the Refresh Warnings button of the buffer form does not, so a manual refresh is still computed immediately.

Dependencies

Odoo dependencies
Python dependencies
bokeh==3.10.1, openupgradelib, requests
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 0

No views found for this module.

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (0)

No new fields.

Public methods (1)
  • cron_generate_ddmrp_warnings(self, automatic=False)

Loading…

Loading…

Loading…