Deltatech Auto Reorder Rule
by Terrabit https://www.terrabit.ro , Dan Stoica https://www.terrabit.ro| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) • Purchase (purchase) • Invoicing (account) |
| Lines of code | 169 |
| Technical Name |
deltatech_auto_reorder_rule |
| License | OPL-1 |
| Website | https://www.terrabit.ro |
| Versions | 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) • Purchase (purchase) • Invoicing (account) |
| Lines of code | 169 |
| Technical Name |
deltatech_auto_reorder_rule |
| License | OPL-1 |
| Website | https://www.terrabit.ro |
| Versions | 17.0 18.0 19.0 |
Deltatech Auto Reorder Rule
Auto create reorder rule
Automatically creates reorder rules (replenishment rules) for products in Odoo, reducing the manual overhead of setting up stock replenishment in warehouses that manage many SKUs.
Key features:
- ✓Automatically creates a
stock.warehouse.orderpointentry for every new storable product, using the warehouse and route marked for auto-rules. - ✓Provides a Create rule server action (available on the Products list) to generate rules in bulk for existing products that do not yet have one.
- ✓Provides an Open Rules Wizard server action (available on the product form) to create rules for specific locations, with configurable minimum/maximum quantities and trigger mode (automatic or manual).
- ✓A system parameter allows disabling the automatic rule creation on product creation, without uninstalling the module.
- ✓Rules are only created for warehouses that have the Generate Reorder Rules option enabled, ensuring multi-warehouse setups can opt in or out per warehouse.
- ✓A dedicated flag on stock routes (Use This for Auto Rules) controls which route is assigned to automatically created rules.
Configuration
Warehouse configuration
Go to Inventory > Configuration > Warehouses, open the warehouse form, and look for the Generate Reorder Rules checkbox (added by this module in the replenishment section). Enable it on every warehouse for which rules should be created automatically. It is enabled by default on new warehouses.
Route configuration
Go to Inventory > Configuration > Routes, open the route you want to use for auto-created rules, and enable the Use This for Auto Rules flag. Only one route should have this flag active at a time; if none is set, rules are created without a route.
Disabling automatic creation on product save
By default, a reorder rule is created every time a new storable product is saved. To disable this behaviour without uninstalling the module, go to Settings > Technical > System Parameters and set:
- Key:
deltatech_auto_reorder_rule.dont_auto_create_rule - Value:
True
When this parameter is set, rules are no longer created on product creation but can still be generated manually via the server actions on the Products list or form.
Usage
Automatic rule creation
After the module is installed and configured (see CONFIGURE), every new storable product saved in the system will have a reorder rule created automatically for each warehouse that has Generate Reorder Rules enabled. No manual action is required.
Bulk creation for existing products
- Go to Inventory > Products > Products (or Sales > Products > Products).
- Select one or more products in the list view.
- Open the Action menu and click Create rule.
- The system creates a reorder rule for each selected product that does not already have one, using the configured warehouse(s) and route.
Creating rules with custom quantities (wizard)
- Open a product form (Inventory > Products > Products, then click on a product).
- Open the Action menu (gear icon) at the top of the form and click Open Rules Wizard.
- In the dialog that opens, fill in:
- Minimum Quantity — the quantity level that triggers replenishment.
- Maximum Quantity — the quantity to replenish up to.
- Trigger — choose Automatic (scheduler-driven) or Manual.
- Stock Locations — select one or more internal locations for which to create rules.
- Click Create Rules. A separate
stock.warehouse.orderpointrecord is created for each product variant and each selected location.
Reviewing created rules
Go to Inventory > Operations > Replenishment to view and manage all reorder rules, including the ones created automatically by this module.
Bug Tracker
Bugs are tracked on Terrabit Issues. In case of trouble, please check there if your issue has already been reported.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Terrabit
- Dan Stoica
Maintainers
This module is part of the dhongu/deltatech project on GitHub.
You are welcome to contribute.
Need help getting started?
We are an Odoo partner building apps for the Romanian market (SAGA & WinMentor export; Romanian accounting localization in progress). Direct support from the team that built the module.
Contact Terrabit →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