DDMRP Adjustment
ddmrp_adjustment · OCA/ddmrp
Health
65/100
fair
-
Security25/25No findings
-
Activity0/25Only bot commits
-
Required by15/251 module depends on it
-
Maturity25/25In 8 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.1 MB
Module directory on disk
Code analysis
0 migration notes
3 models
5 views
0 HTTP endpoints
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).
Dependencies
- Odoo dependencies
- Python dependencies
- bokeh==3.9.0
- System dependencies
- None
- Required by
- ddmrp_adjustment_matrix
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…