DDMRP Exclude Moves ADU Calc Sales
This module extends ddmrp_exclude_moves_adu_calc to be able to mark sale order lines to be excluded from adu calculation
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Lets users flag sale order lines so that the stock moves generated by those lines are left out of the ADU (average daily usage) calculation used by DDMRP replenishment.
This module connects the Sales app with the DDMRP buffer settings. It adds an "Exclude from ADU calculation" toggle on sale order lines, so a salesperson can decide that a given line should not influence the average daily usage figure that DDMRP uses to size buffers.
Where it appears: - On the sale order form, inside the order lines list, there is a new optional column with an on/off toggle. It is hidden by default (you can switch it on from the column selector) and only shows when the order is in the confirmed "Sales Order" state.
How it behaves: - The toggle on the line is not stored directly: it is derived from the related stock moves. A line is shown as excluded only when all of its stock moves are marked as excluded. - When a user switches the toggle on a line, the same exclusion flag is written onto all stock moves linked to that line; switching it off clears the flag on those moves. - The flag is not copied when a sale order is duplicated, so copies start without the exclusion.
What it touches:
- It extends sale.order.line with the new field and the logic that keeps it in sync with the stock moves.
- It relies on the underlying exclusion feature on stock moves provided by the companion module, which is what actually removes those moves from the ADU calculation.
No new menus, reports, scheduled jobs or emails are added by this module.
Depends on
Models and fields (1)
- sale.order.line · extends an existing modelexclude_from_adu (Exclude from ADU calculation)
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/ddmrp.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.