Author: |
Camptocamp, Odoo Community Association (OCA) |
License: |
LGPL-3 |
Branch: |
15.0 |
Repository: |
brain-tec/ddmrp |
Dependencies: |
ddmrp,
and
queue_job |
Languages: |
HTML (338, 63.4%),
PO File (21, 3.9%),
Python (107, 20.1%),
XML (18, 3.4%),
and
reStructuredText (49, 9.2%) |
Other branches: |
13.0,
13.0-imp-ddmrp_sale,
13.0-mig-ddmrp_product_replace,
14.0,
and
15.0-mig-ddmrp_cron_actions_as_job |
Other repositories: |
Change2improve/ddmrp,
ForgeFlow/ddmrp-1,
Gabinete-Digital/ddmrp,
NeatNerdPrime/ddmrp,
OCA/ddmrp,
SeuMarco/ddmrp,
camptocamp/ddmrp,
kmee/ddmrp,
and
ursais/ddmrp |
<h1 class="title">DDMRP Buffer Calculation as job</h1>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/ddmrp/tree/15.0/ddmrp_cron_actions_as_job"><img alt="OCA/ddmrp" src="https://img.shields.io/badge/github-OCA%2Fddmrp-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/ddmrp-15-0/ddmrp-15-0-ddmrp_cron_actions_as_job"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/255/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>DDMRP Buffer calculations are now run with Queue Jobs.</p>
<p>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.</p>
<p>The <code><stock.buffer>.cron_actions</code> method is automatically delayed when the
context contains <code>auto_delay_ddmrp_cron_actions=True</code>.</p>
<p>The scheduled action for buffers ADU computation also generates jobs instead
of recomputing all the buffers at once.</p>
<p>The <code><stock.buffer>._calc_adu</code> method is automatically delayed when the
context contains <code>auto_delay_ddmrp_calc_adu=True</code>.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#bug-tracker" id="id1">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id2">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id3">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id4">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id5">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<a name="bug-tracker"></a>
<h2><a class="toc-backref" href="#id1">Bug Tracker</a></h2>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/ddmrp/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/ddmrp/issues/new?body=module:%20ddmrp_cron_actions_as_job%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
<a name="credits"></a>
<h2><a class="toc-backref" href="#id2">Credits</a></h2>
<a name="authors"></a>
<h3><a class="toc-backref" href="#id3">Authors</a></h3>
<ul class="simple">
<li>Camptocamp</li>
</ul>
<a name="contributors"></a>
<h3><a class="toc-backref" href="#id4">Contributors</a></h3>
<ul class="simple">
<li>Guewen Baconnier <<a class="reference external" href="mailto:guewen.baconnier@camptocamp.com">guewen.baconnier@camptocamp.com</a>></li>
</ul>
<a name="maintainers"></a>
<h3><a class="toc-backref" href="#id5">Maintainers</a></h3>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/ddmrp/tree/15.0/ddmrp_cron_actions_as_job">OCA/ddmrp</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>