DDMRP Buffer Calculation as job
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.
Table of contents
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/ddmrp project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.