DDMRP Buffer Calculation as job
ddmrp_cron_actions_as_job · OCA/ddmrp
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by15/251 module depends on it
-
Maturity25/25In 7 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Description
DDMRP Buffer calculations are now run with Queue Jobs.
When auto-update of NFP is active, each time the state of a stock move changes, a new computation is triggered, but thanks to identity keys on jobs, only one job at a time is generated for the same buffer.
The <stock.buffer>.cron_actions method is automatically delayed when
the context contains auto_delay_ddmrp_cron_actions=True.
The scheduled action for buffers ADU computation also generates jobs instead of recomputing all the buffers at once.
The <stock.buffer>._calc_adu method is automatically delayed when the
context contains auto_delay_ddmrp_calc_adu=True.
Dependencies
- Odoo dependencies
- Python dependencies
- bokeh==3.9.0, openupgradelib, requests
- System dependencies
- None
- Required by
- ddmrp_warning_as_job
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 3
No new fields.
Public methods (3)-
cron_actions_job_options(self, only_nfp=False) -
cron_ddmrp(self, automatic=False, domain=None) -
cron_ddmrp_adu(self, automatic=False, domain=None)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…