Replenishment Planning & Demand Forecasting | Reordering Rules Min Max, Inventory Forecast, Safety Stock, ABC XYZ
by WebThreenity https://webthreenity.netlify.app$ 296.43
WebThreenity · Odoo 20 · Community and Enterprise
Know what to order, before you run out
A forecast for every product in every warehouse, and Odoo's own reordering rules set from it.
Your buyers already order from Odoo's Replenishment screen. What they lack is the right minimum and maximum: typed once by hand, they stay the same through the season, the trend and every stock-out. This app reads two years of real deliveries and consumption, tests six forecasting methods on each product, keeps the one that was right most often, sizes the safety stock from the service level you choose and the lead times your vendors really kept, then writes min and max into the reordering rules. Buyers click Order in Replenishment, as they always did, and Odoo makes the request for quotation.
A buyer's day with the app
Screens of an office furniture distributor with two warehouses and two years of history, on Odoo 19 Community. Odoo 20 shows the same screens and steps, in its own style.
Why buyers keep it
Nothing new to learn
The result lands in Odoo's own reordering rules. Buyers keep the Replenishment screen, the Order button and the usual requests for quotation and manufacturing orders, with three new columns: class, forecast per month and the day the product runs out.
The method is chosen by the facts
Moving averages, exponential smoothing, damped trend, Holt-Winters season and Croston for products that sell now and then are each tested on the last months the product really sold. The lowest error wins, and the form shows the error of every method.
A stock-out does not lower the forecast
Days without stock are rebuilt from the moves. A month you could not sell is not read as a month nobody wanted the product, so the next minimum is not set too low.
What it does
Forecast per product and warehouse
Done deliveries to customers and components consumed by manufacturing, minus customer returns, month by month, for every warehouse. Up to 24 months of history read in a few SQL queries, so ten thousand products take minutes, not hours.
Six methods, one back-test
Moving average over 3 and 12 months, exponential smoothing, damped trend (Holt), seasonal (Holt-Winters) and Croston-SBA for intermittent demand. The last months are held back, each method forecasts them, the lowest error (WAPE) is kept and refitted on the whole history.
Safety stock from a service level
z of the service level of the product's ABC class, times the forecast error during the lead time and the spread of the lead time itself: z × √(LT × σd² + d² × σLT²). The form prints the formula with the product's own numbers.
Lead times you can trust
With Purchase installed, the lead time is measured on the real receipts: days from the order confirmation to the receipt, their average and their spread. Otherwise the route of the reordering rule, the vendor delay or a default of your choice.
Season-aware minimum
The demand during the lead time adds the forecast of the coming days, so the minimum rises before the busy months and falls after them. The maximum adds the demand until the next order, or the vendor's minimum quantity when it is larger.
Min and max into Odoo's reordering rules
One click writes the suggestions into the existing rules and creates the missing ones (manual trigger, so buyers keep control). The weekly calculation can do it by itself. On Odoo 20 the daily demand also goes into the rule as Custom Demand.
ABC-XYZ classes
ABC on the yearly value in each warehouse, XYZ on the variation of the monthly demand, with thresholds you set. The class picks the service level: 98 % for A, 95 % for B, 90 % for C by default.
Risk lists
Runs out before a new order can arrive, order now, overstock and dead stock. The overstock and dead stock lists add up the value they tie up.
Forecast against actual
The back-test months appear at once; then every closed month is compared with the forecast made before it, by product, category, class and warehouse, in pivots and charts.
Scheduled and logged
Recompute now from the menu, or let the weekly scheduled action do it. Every calculation keeps its duration, its counts, the value of the suggested orders and the methods chosen.
Getting started
- Install the app (it needs Inventory only; Purchase and Manufacturing are used when they are installed).
- Inventory › Configuration › Settings › Demand Forecast: choose the service level of each class, the days between two orders and the months of history.
- Inventory › Demand Planning › Recompute Now: every product with demand, stock or a reordering rule gets its forecast, its classes and its suggested minimum and maximum.
- Order Suggestions: check the list, open a product to see its chart and how its minimum was set, then click Apply to reordering rules.
- Open in Replenishment and click Order: Odoo makes the requests for quotation (or manufacturing orders) through your usual routes.
Requirements
- Odoo 20.0, Community or Enterprise, on premise, Odoo.sh or any host that runs custom modules.
- Inventory (stock). Purchase gives the measured lead times; Manufacturing adds the components consumed.
- No Python package to install: the forecasting is written in plain Python and runs on every Odoo server as it is.
- Inventory Administrators apply the suggestions to the rules; Inventory users compute and read.
Questions
Does it replace Odoo's Replenishment?
No, it feeds it. The minimum and maximum it suggests go into Odoo's own reordering rules, and orders are made by Odoo's own Order button and routes. Uninstall the app and your rules keep the last values.
How much history does it need?
Under six months of demand it uses the average. With more, it tests the 3-month average and exponential smoothing, the trend from 9 months, the 12-month average from 15, and the seasonal method from 21 months when the history shows a season. The default reads 24 months.
We have thousands of products.
History, stock and lead times are read in a few SQL queries for the whole company, and the forecasting itself handles ten thousand product series in seconds. The calculation can run every week as a scheduled action.
Can we keep our own minimum on some products?
Yes. Nothing is written until someone clicks Apply, on the lines they select, or until you turn on the automatic update in the settings. The list shows which rules differ from the suggestion.
Several companies, several warehouses?
Each company is computed on its own, with its own settings, and each warehouse gets its own forecast and classes. Users only see the companies they are allowed in.
Our way of buying is particular.
Write to us: we adapt the app to your process, your routes and your rules, and we stay with you until it works in your database, free of charge.
Good to know
- Try every screen the day you install it: the first calculation reads the history you already have.
- Free support and free adaptations by email: we stay with you until it works in your database.
- Products counted in units get whole minimums and maximums; products sold by weight or volume keep their decimals.
- Odoo 19 and Odoo 20 from the first day; Odoo 16, 17 and 18 on request.
Free trial · 7 days
Try Demand Forecasting & Replenishment Planning in your own Odoo database
An Odoo 19 database of your own with two years of history already in it: an office furniture distributor with two warehouses, 25 products with seasons, trends, products that sell now and then, stock-outs and a year of purchase orders. Recompute, open a product to see its forecast and how its minimum is set, apply the suggestions, then click Order in Odoo’s Replenishment.
A database of your own · Access sent the same day · No credentials, no credit card
Get my access or the Live Preview button at the top of this pageMade by WebThreenity
Questions, or a particular need?
WebThreenity implements, adapts and supports Odoo: rollouts, custom modules, migrations and integrations. A question about this app, or a particular need? Write to us.
Write to WebThreenity or visit webthreenity.netlify.app| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 1902 |
| Technical Name |
demand_forecast_replenishment |
| License | OPL-1 |
| Website | https://webthreenity.netlify.app |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module