TIP: You can type at any time to perform a new search.
DDMRP Adjustment
ddmrp_adjustment · OCA/ddmrp
- Repository
- OCA/ddmrp · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Warehouse
- Folder size
- 0.1 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/ddmrp
- Last tracking update
- 2026-08-07 09:06:36
- Authors
- Odoo Community Association (OCA), ForgeFlow
- Maintainers
- Odoo Community Association (OCA), ForgeFlow
- Committers
- oca-ci, github-actions[bot]
- Odoo dependencies
- Python dependencies
- bokeh==3.9.0
- System dependencies
- None
- Required by
- None
- Description
Allow to extend DDMRP App to be able to apply Adjustments for dynamically altering buffers for planned or anticipated events. This include: - **Demand Adjustment Factor (DAF)**: is a manipulation of the ADU input within a specific time period. The system will look for existing DAFs when computing the ADU for each buffer and apply them. The system will also explode the resulting increase in demand of parent buffers to all their children buffers using the BoM. - **Lead Time Adjustment Factor (LTAF)**: manipulates the Decoupled Lead Time for an individual part or group of parts (buffer profile, same partner...) to adjust for a planned or known expansions of LT. - **Zone Adjustment Factor (ZAF)**: Adjustment done to any of the zones of the buffer to modify the ordering size and frequency (green), demand coverage (yellow) or safety (red).
Code Analysis ⓘ
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_buffer_view_form |
stock.buffer.form | stock.buffer | form | Inherits ddmrp.stock_buffer_view_form |
view_ddmrp_adjustment_demand_tree |
ddmrp.adjustment.demand.tree | ddmrp.adjustment.demand | list | New |
view_ddmrp_adjustment_graph |
ddmrp.adjustment.graph | ddmrp.adjustment | graph | New |
view_ddmrp_adjustment_search |
ddmrp.adjustment.search | ddmrp.adjustment | search | New |
view_ddmrp_adjustment_tree |
ddmrp.adjustment.tree | ddmrp.adjustment | list | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (11)
-
adjustment_typeSelectionrequired=Trueselection=[(DAF_string, 'Demand Adjustment Factor'), (LTAF_string, 'Lead Time Adjustment Factor'), (RZAF_string, 'Red Zone Adjustment Factor'), (YZAF_string, 'Yellow Zone Adjustment Factor'), (GZAF_string, 'Green Zone Adjustment Factor')] -
buffer_idMany2one → stock.buffercomodel_name='stock.buffer'required=Truestring='Buffer' -
company_idMany2one → res.companycomodel_name='res.company'related='buffer_id.company_id' -
date_endDatecompute='_compute_dates'store=Truestring='End date' -
date_range_idMany2one → date.rangecomodel_name='date.range'string='Date Range' -
date_startDatecompute='_compute_dates'store=Truestring='Start Date' -
location_idMany2one → stock.locationcomodel_name='stock.location'readonly=Truerelated='buffer_id.location_id' -
manual_date_endDatestring='End Date (Manual)' -
manual_date_startDatestring='Start Date (Manual)' -
product_idMany2one → product.productcomodel_name='product.product'readonly=Truerelated='buffer_id.product_id' -
valueFloataggregator='avg'
No public methods.
New fields (9)
-
buffer_idMany2one → stock.buffercomodel_name='stock.buffer'string='Apply to' -
buffer_origin_idMany2one → stock.buffercomodel_name='stock.buffer'ondelete='cascade'required=Truestring='Originated from' -
company_idMany2one → res.companycomodel_name='res.company'related='buffer_id.company_id' -
date_endDatestring='End date' -
date_startDatestring='Start date' -
extra_demandFloat -
product_idMany2onerelated='buffer_id.product_id' -
product_origin_idMany2onerelated='buffer_origin_id.product_id'string='Origin Product' -
product_uom_idMany2one → uom.uomcomodel_name='uom.uom'related='buffer_id.product_uom'string='Unit of Measure'
No public methods.
New fields (13)
-
count_ddmrp_adjustment_demandIntegercompute='_compute_count_ddmrp_adjustment_demand' -
daf_appliedFloatdefault=-1readonly=True -
daf_textCharcompute='_compute_daf_text' -
extra_demand_idsOne2many → ddmrp.adjustment.demandcomodel_name='ddmrp.adjustment.demand'help='Demand associated to Demand Adjustment Factors applied to parent buffers.'inverse_name='buffer_id'string='Extra Demand' -
gzaf_appliedFloatdefault=-1readonly=True -
gzaf_textCharcompute='_compute_zaf_text' -
parent_daf_appliedFloatdefault=-1readonly=True -
parent_daf_textCharcompute='_compute_daf_text' -
pre_daf_aduFloatreadonly=True -
rzaf_appliedFloatdefault=-1readonly=True -
rzaf_textCharcompute='_compute_zaf_text' -
yzaf_appliedFloatdefault=-1readonly=True -
yzaf_textCharcompute='_compute_zaf_text'
-
action_archive(self) -
action_view_affecting_adu(self) -
action_view_affecting_green_zone(self) -
action_view_affecting_red_zone(self) -
action_view_affecting_yellow_zone(self) -
action_view_demand_to_components(self) -
action_view_parent_affecting_adu(self) -
cron_ddmrp_adu(self, automatic=False, domain=None)@api.modelApply extra demand originated by Demand Adjustment Factors to components after the cron update of all the buffers. -
explode_demand_to_components(self, daf, demand, uom_id)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…