DDMRP Adjustment

ddmrp_adjustment
REPOSITORY
REPOSITORYOCA/ddmrp
GIT
GIThttps://github.com/OCA/ddmrp.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/ddmrp/tree/19.0/ddmrp_adjustment
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSoca-ci, github-actions[bot]
WEBSITE
WEBSITEhttps://github.com/OCA/ddmrp
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/ddmrp:
    - ddmrp
OCA/manufacture:
    - mrp_multi_level
    - mrp_warehouse_calendar
OCA/server-tools:
    - base_cron_exclusion
OCA/server-ux:
    - date_range
OCA/stock-logistics-warehouse:
    - stock_demand_estimate
    - stock_warehouse_calendar
    - stock_location_is_sublocation
    - stock_move_quantity_product_uom
OCA/web:
    - web_widget_bokeh_chart
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - purchase
    - mrp
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES bokeh==3.9.0
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
stock_buffer_view_form stock.buffer.form stock.buffer xpath 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
Models touched (3)

New fields (11)
  • adjustment_type Selection
    required=True selection=[(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_id Many2one → stock.buffer
    comodel_name='stock.buffer' required=True string='Buffer'
  • company_id Many2one → res.company
    comodel_name='res.company' related='buffer_id.company_id'
  • date_end Date
    compute='_compute_dates' store=True string='End date'
  • date_range_id Many2one → date.range
    comodel_name='date.range' string='Date Range'
  • date_start Date
    compute='_compute_dates' store=True string='Start Date'
  • location_id Many2one → stock.location
    comodel_name='stock.location' readonly=True related='buffer_id.location_id'
  • manual_date_end Date
    string='End Date (Manual)'
  • manual_date_start Date
    string='Start Date (Manual)'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True related='buffer_id.product_id'
  • value Float
    aggregator='avg'
Public methods (0)

No public methods.

New fields (9)
  • buffer_id Many2one → stock.buffer
    comodel_name='stock.buffer' string='Apply to'
  • buffer_origin_id Many2one → stock.buffer
    comodel_name='stock.buffer' ondelete='cascade' required=True string='Originated from'
  • company_id Many2one → res.company
    comodel_name='res.company' related='buffer_id.company_id'
  • date_end Date
    string='End date'
  • date_start Date
    string='Start date'
  • extra_demand Float
  • product_id Many2one
    related='buffer_id.product_id'
  • product_origin_id Many2one
    related='buffer_origin_id.product_id' string='Origin Product'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='buffer_id.product_uom' string='Unit of Measure'
Public methods (0)

No public methods.

New fields (13)
  • count_ddmrp_adjustment_demand Integer
    compute='_compute_count_ddmrp_adjustment_demand'
  • daf_applied Float
    default=-1 readonly=True
  • daf_text Char
    compute='_compute_daf_text'
  • extra_demand_ids One2many → ddmrp.adjustment.demand
    comodel_name='ddmrp.adjustment.demand' help='Demand associated to Demand Adjustment Factors applied to parent buffers.' inverse_name='buffer_id' string='Extra Demand'
  • gzaf_applied Float
    default=-1 readonly=True
  • gzaf_text Char
    compute='_compute_zaf_text'
  • parent_daf_applied Float
    default=-1 readonly=True
  • parent_daf_text Char
    compute='_compute_daf_text'
  • pre_daf_adu Float
    readonly=True
  • rzaf_applied Float
    default=-1 readonly=True
  • rzaf_text Char
    compute='_compute_zaf_text'
  • yzaf_applied Float
    default=-1 readonly=True
  • yzaf_text Char
    compute='_compute_zaf_text'
Public methods (9)
  • 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.model
    Apply 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)
REPOSITORY
REPOSITORYOCA/ddmrp
GIT
GIThttps://github.com/OCA/ddmrp.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/ddmrp/tree/18.0/ddmrp_adjustment
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSLois Rilo, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/ddmrp
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/ddmrp:
    - ddmrp
OCA/manufacture:
    - mrp_multi_level
    - mrp_warehouse_calendar
OCA/server-tools:
    - base_cron_exclusion
OCA/server-ux:
    - date_range
OCA/stock-logistics-warehouse:
    - stock_demand_estimate
    - stock_warehouse_calendar
    - stock_location_is_sublocation
OCA/stock-logistics-workflow:
    - stock_move_quantity_product_uom
OCA/web:
    - web_widget_bokeh_chart
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - purchase
    - mrp
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES bokeh==3.6.3
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
stock_buffer_view_form stock.buffer.form stock.buffer xpath 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
Models touched (3)

New fields (11)
  • adjustment_type Selection
    required=True selection=[(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_id Many2one → stock.buffer
    comodel_name='stock.buffer' required=True string='Buffer'
  • company_id Many2one → res.company
    comodel_name='res.company' related='buffer_id.company_id'
  • date_end Date
    compute='_compute_dates' store=True string='End date'
  • date_range_id Many2one → date.range
    comodel_name='date.range' string='Date Range'
  • date_start Date
    compute='_compute_dates' store=True string='Start Date'
  • location_id Many2one → stock.location
    comodel_name='stock.location' readonly=True related='buffer_id.location_id'
  • manual_date_end Date
    string='End Date (Manual)'
  • manual_date_start Date
    string='Start Date (Manual)'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True related='buffer_id.product_id'
  • value Float
    aggregator='avg'
Public methods (0)

No public methods.

New fields (9)
  • buffer_id Many2one → stock.buffer
    comodel_name='stock.buffer' string='Apply to'
  • buffer_origin_id Many2one → stock.buffer
    comodel_name='stock.buffer' ondelete='cascade' required=True string='Originated from'
  • company_id Many2one → res.company
    comodel_name='res.company' related='buffer_id.company_id'
  • date_end Date
    string='End date'
  • date_start Date
    string='Start date'
  • extra_demand Float
  • product_id Many2one
    related='buffer_id.product_id'
  • product_origin_id Many2one
    related='buffer_origin_id.product_id' string='Origin Product'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='buffer_id.product_uom' string='Unit of Measure'
Public methods (0)

No public methods.

New fields (13)
  • count_ddmrp_adjustment_demand Integer
    compute='_compute_count_ddmrp_adjustment_demand'
  • daf_applied Float
    default=-1 readonly=True
  • daf_text Char
    compute='_compute_daf_text'
  • extra_demand_ids One2many → ddmrp.adjustment.demand
    comodel_name='ddmrp.adjustment.demand' help='Demand associated to Demand Adjustment Factors applied to parent buffers.' inverse_name='buffer_id' string='Extra Demand'
  • gzaf_applied Float
    default=-1 readonly=True
  • gzaf_text Char
    compute='_compute_zaf_text'
  • parent_daf_applied Float
    default=-1 readonly=True
  • parent_daf_text Char
    compute='_compute_daf_text'
  • pre_daf_adu Float
    readonly=True
  • rzaf_applied Float
    default=-1 readonly=True
  • rzaf_text Char
    compute='_compute_zaf_text'
  • yzaf_applied Float
    default=-1 readonly=True
  • yzaf_text Char
    compute='_compute_zaf_text'
Public methods (9)
  • 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.model
    Apply 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)
REPOSITORY
REPOSITORYOCA/ddmrp
GIT
GIThttps://github.com/OCA/ddmrp.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/ddmrp/tree/17.0/ddmrp_adjustment
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSLois Rilo, Weblate, OCA-git-bot, oca-ci, DavidJForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/ddmrp
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/ddmrp:
    - ddmrp
OCA/manufacture:
    - mrp_multi_level
    - mrp_warehouse_calendar
OCA/server-tools:
    - base_cron_exclusion
OCA/server-ux:
    - date_range
OCA/stock-logistics-warehouse:
    - stock_demand_estimate
    - stock_warehouse_calendar
    - stock_helper
OCA/stock-logistics-workflow:
    - stock_move_quantity_product_uom
OCA/web:
    - web_widget_bokeh_chart
    - web_widget_x2many_2d_matrix
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - purchase
    - mrp
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES bokeh==3.4.1
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 (6)
XML IDNameModelTypeStatus
stock_buffer_view_form stock.buffer.form stock.buffer xpath Inherits ddmrp.stock_buffer_view_form
view_ddmrp_adjustment_demand_tree ddmrp.adjustment.demand.tree ddmrp.adjustment.demand tree 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_sheet_wizard_form ddmrp.adjustment.sheet.form1 ddmrp.adjustment.sheet form New
view_ddmrp_adjustment_tree ddmrp.adjustment.tree ddmrp.adjustment tree New
Models touched (5)

New fields (11)
  • adjustment_type Selection
    required=True selection=[(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_id Many2one → stock.buffer
    comodel_name='stock.buffer' required=True string='Buffer'
  • company_id Many2one → res.company
    comodel_name='res.company' related='buffer_id.company_id'
  • date_end Date
    compute='_compute_dates' store=True string='End date'
  • date_range_id Many2one → date.range
    comodel_name='date.range' string='Date Range'
  • date_start Date
    compute='_compute_dates' store=True string='Start Date'
  • location_id Many2one → stock.location
    comodel_name='stock.location' readonly=True related='buffer_id.location_id'
  • manual_date_end Date
    string='End Date (Manual)'
  • manual_date_start Date
    string='Start Date (Manual)'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True related='buffer_id.product_id'
  • value Float
    group_operator='avg'
Public methods (0)

No public methods.

New fields (9)
  • buffer_id Many2one → stock.buffer
    comodel_name='stock.buffer' string='Apply to'
  • buffer_origin_id Many2one → stock.buffer
    comodel_name='stock.buffer' ondelete='cascade' required=True string='Originated from'
  • company_id Many2one → res.company
    comodel_name='res.company' related='buffer_id.company_id'
  • date_end Date
    string='End date'
  • date_start Date
    string='Start date'
  • extra_demand Float
  • product_id Many2one
    related='buffer_id.product_id'
  • product_origin_id Many2one
    related='buffer_origin_id.product_id' string='Origin Product'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='buffer_id.product_uom' string='Unit of Measure'
Public methods (0)

No public methods.

New fields (10)
  • apply_daf Boolean
    string='Demand Adjustment Factor'
  • apply_gzaf Boolean
    string='Green Zone Adjustment Factor'
  • apply_ltaf Boolean
    string='Lead Time Adjustment Factor'
  • apply_rzaf Boolean
    string='Red Zone Adjustment Factor'
  • apply_yzaf Boolean
    string='Yellow Zone Adjustment Factor'
  • buffer_ids Many2many → stock.buffer
    comodel_name='stock.buffer' string='DDMRP Buffers'
  • date_end Date
    required=True string='Date To'
  • date_range_type_id Many2one → date.range.type
    comodel_name='date.range.type' required=True string='Date Range Type'
  • date_start Date
    required=True string='Date From'
  • line_ids Many2many → ddmrp.adjustment.sheet.line
    comodel_name='ddmrp.adjustment.sheet.line' string='Adjustments'
Public methods (2)
  • action_refresh(self)
  • button_validate(self)

New fields (4)
  • date_range_id Many2one → date.range
    comodel_name='date.range' string='Period'
  • factor Char
    string='Factors'
  • sheet_id Many2one → ddmrp.adjustment.sheet
    comodel_name='ddmrp.adjustment.sheet'
  • value Float
Public methods (0)

No public methods.

New fields (13)
  • count_ddmrp_adjustment_demand Integer
    compute='_compute_count_ddmrp_adjustment_demand'
  • daf_applied Float
    default=-1 readonly=True
  • daf_text Char
    compute='_compute_daf_text'
  • extra_demand_ids One2many → ddmrp.adjustment.demand
    comodel_name='ddmrp.adjustment.demand' help='Demand associated to Demand Adjustment Factors applied to parent buffers.' inverse_name='buffer_id' string='Extra Demand'
  • gzaf_applied Float
    default=-1 readonly=True
  • gzaf_text Char
    compute='_compute_zaf_text'
  • parent_daf_applied Float
    default=-1 readonly=True
  • parent_daf_text Char
    compute='_compute_daf_text'
  • pre_daf_adu Float
    readonly=True
  • rzaf_applied Float
    default=-1 readonly=True
  • rzaf_text Char
    compute='_compute_zaf_text'
  • yzaf_applied Float
    default=-1 readonly=True
  • yzaf_text Char
    compute='_compute_zaf_text'
Public methods (9)
  • 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.model
    Apply 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)
REPOSITORY
REPOSITORYOCA/ddmrp
GIT
GIThttps://github.com/OCA/ddmrp.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/ddmrp/tree/16.0/ddmrp_adjustment
VERSION
VERSION 1.7.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSLois Rilo, Weblate, OCA-git-bot, oca-ci, BernatPForgeFlow, DavidJForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/ddmrp
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/ddmrp:
    - ddmrp
OCA/manufacture:
    - mrp_multi_level
    - mrp_warehouse_calendar
OCA/server-tools:
    - base_cron_exclusion
OCA/server-ux:
    - date_range
OCA/stock-logistics-warehouse:
    - stock_demand_estimate
    - stock_warehouse_calendar
    - stock_helper
OCA/web:
    - web_widget_bokeh_chart
    - web_widget_x2many_2d_matrix
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - purchase
    - mrp
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES bokeh==3.1.1
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
stock_buffer_view_form stock.buffer.form stock.buffer xpath Inherits ddmrp.stock_buffer_view_form
view_ddmrp_adjustment_demand_tree ddmrp.adjustment.demand.tree ddmrp.adjustment.demand tree 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_sheet_wizard_form ddmrp.adjustment.sheet.form1 ddmrp.adjustment.sheet form New
view_ddmrp_adjustment_tree ddmrp.adjustment.tree ddmrp.adjustment tree New
Models touched (5)

New fields (11)
  • adjustment_type Selection
    required=True selection=[(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_id Many2one → stock.buffer
    comodel_name='stock.buffer' required=True string='Buffer'
  • company_id Many2one → res.company
    comodel_name='res.company' related='buffer_id.company_id'
  • date_end Date
    compute='_compute_dates' store=True string='End date'
  • date_range_id Many2one → date.range
    comodel_name='date.range' string='Date Range'
  • date_start Date
    compute='_compute_dates' store=True string='Start Date'
  • location_id Many2one → stock.location
    comodel_name='stock.location' readonly=True related='buffer_id.location_id'
  • manual_date_end Date
    string='End Date (Manual)'
  • manual_date_start Date
    string='Start Date (Manual)'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True related='buffer_id.product_id'
  • value Float
    group_operator='avg'
Public methods (0)

No public methods.

New fields (9)
  • buffer_id Many2one → stock.buffer
    comodel_name='stock.buffer' string='Apply to'
  • buffer_origin_id Many2one → stock.buffer
    comodel_name='stock.buffer' ondelete='cascade' required=True string='Originated from'
  • company_id Many2one → res.company
    comodel_name='res.company' related='buffer_id.company_id'
  • date_end Date
    string='End date'
  • date_start Date
    string='Start date'
  • extra_demand Float
  • product_id Many2one
    related='buffer_id.product_id'
  • product_origin_id Many2one
    related='buffer_origin_id.product_id' string='Origin Product'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='buffer_id.product_uom' string='Unit of Measure'
Public methods (0)

No public methods.

New fields (10)
  • apply_daf Boolean
    string='Demand Adjustment Factor'
  • apply_gzaf Boolean
    string='Green Zone Adjustment Factor'
  • apply_ltaf Boolean
    string='Lead Time Adjustment Factor'
  • apply_rzaf Boolean
    string='Red Zone Adjustment Factor'
  • apply_yzaf Boolean
    string='Yellow Zone Adjustment Factor'
  • buffer_ids Many2many → stock.buffer
    comodel_name='stock.buffer' string='DDMRP Buffers'
  • date_end Date
    required=True string='Date To'
  • date_range_type_id Many2one → date.range.type
    comodel_name='date.range.type' required=True string='Date Range Type'
  • date_start Date
    required=True string='Date From'
  • line_ids Many2many → ddmrp.adjustment.sheet.line
    comodel_name='ddmrp.adjustment.sheet.line' string='Adjustments'
Public methods (1)
  • button_validate(self)

New fields (4)
  • date_range_id Many2one → date.range
    comodel_name='date.range' string='Period'
  • factor Char
    string='Factors'
  • sheet_id Many2one → ddmrp.adjustment.sheet
    comodel_name='ddmrp.adjustment.sheet'
  • value Float
Public methods (0)

No public methods.

New fields (13)
  • count_ddmrp_adjustment_demand Integer
    compute='_compute_count_ddmrp_adjustment_demand'
  • daf_applied Float
    default=-1 readonly=True
  • daf_text Char
    compute='_compute_daf_text'
  • extra_demand_ids One2many → ddmrp.adjustment.demand
    comodel_name='ddmrp.adjustment.demand' help='Demand associated to Demand Adjustment Factors applied to parent buffers.' inverse_name='buffer_id' string='Extra Demand'
  • gzaf_applied Float
    default=-1 readonly=True
  • gzaf_text Char
    compute='_compute_zaf_text'
  • parent_daf_applied Float
    default=-1 readonly=True
  • parent_daf_text Char
    compute='_compute_daf_text'
  • pre_daf_adu Float
    readonly=True
  • rzaf_applied Float
    default=-1 readonly=True
  • rzaf_text Char
    compute='_compute_zaf_text'
  • yzaf_applied Float
    default=-1 readonly=True
  • yzaf_text Char
    compute='_compute_zaf_text'
Public methods (9)
  • 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.model
    Apply 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)
REPOSITORY
REPOSITORYOCA/ddmrp
GIT
GIThttps://github.com/OCA/ddmrp.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/ddmrp/tree/15.0/ddmrp_adjustment
VERSION
VERSION 1.5.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSLois Rilo, Weblate, OCA-git-bot, oca-ci, BernatPForgeFlow, DavidJForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/ddmrp
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:34
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/ddmrp:
    - ddmrp
OCA/manufacture:
    - mrp_multi_level
    - mrp_warehouse_calendar
OCA/server-tools:
    - base_cron_exclusion
OCA/server-ux:
    - date_range
OCA/stock-logistics-warehouse:
    - stock_demand_estimate
    - stock_warehouse_calendar
    - stock_helper
OCA/web:
    - web_widget_bokeh_chart
    - web_widget_x2many_2d_matrix
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - purchase
    - mrp
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES bokeh==2.4.2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
stock_buffer_view_form stock.buffer.form stock.buffer xpath Inherits ddmrp.stock_buffer_view_form
view_ddmrp_adjustment_demand_tree ddmrp.adjustment.demand.tree ddmrp.adjustment.demand tree 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_sheet_wizard_form ddmrp.adjustment.sheet.form1 ddmrp.adjustment.sheet form New
view_ddmrp_adjustment_tree ddmrp.adjustment.tree ddmrp.adjustment tree New
Models touched (5)

New fields (9)
  • adjustment_type Selection
    selection=[(DAF_string, 'Demand Adjustment Factor'), (LTAF_string, 'Lead Time Adjustment Factor')]
  • buffer_id Many2one → stock.buffer
    comodel_name='stock.buffer' required=True string='Buffer'
  • company_id Many2one → res.company
    comodel_name='res.company' related='buffer_id.company_id'
  • date_end Date
    related='date_range_id.date_end'
  • date_range_id Many2one → date.range
    comodel_name='date.range' required=True string='Date Range'
  • date_start Date
    related='date_range_id.date_start'
  • location_id Many2one → stock.location
    comodel_name='stock.location' readonly=True related='buffer_id.location_id'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True related='buffer_id.product_id'
  • value Float
    group_operator='avg'
Public methods (0)

No public methods.

New fields (9)
  • buffer_id Many2one → stock.buffer
    comodel_name='stock.buffer' string='Apply to'
  • buffer_origin_id Many2one → stock.buffer
    comodel_name='stock.buffer' ondelete='cascade' required=True string='Originated from'
  • company_id Many2one → res.company
    comodel_name='res.company' related='buffer_id.company_id'
  • date_end Date
    string='End date'
  • date_start Date
    string='Start date'
  • extra_demand Float
  • product_id Many2one
    related='buffer_id.product_id'
  • product_origin_id Many2one
    related='buffer_origin_id.product_id' string='Origin Product'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='buffer_id.product_uom' string='Unit of Measure'
Public methods (0)

No public methods.

New fields (7)
  • apply_daf Boolean
    string='Demand Adjustment Factor'
  • apply_ltaf Boolean
    string='Lead Time Adjustment Factor'
  • buffer_ids Many2many → stock.buffer
    comodel_name='stock.buffer' string='DDMRP Buffers'
  • date_end Date
    required=True string='Date To'
  • date_range_type_id Many2one → date.range.type
    comodel_name='date.range.type' required=True string='Date Range Type'
  • date_start Date
    required=True string='Date From'
  • line_ids Many2many → ddmrp.adjustment.sheet.line
    comodel_name='ddmrp.adjustment.sheet.line' string='Adjustments'
Public methods (1)
  • button_validate(self)

New fields (4)
  • date_range_id Many2one → date.range
    comodel_name='date.range' string='Period'
  • factor Char
    string='Factors'
  • sheet_id Many2one → ddmrp.adjustment.sheet
    comodel_name='ddmrp.adjustment.sheet'
  • value Float
Public methods (0)

No public methods.

New fields (7)
  • count_ddmrp_adjustment_demand Integer
    compute='_compute_count_ddmrp_adjustment_demand'
  • daf_applied Float
    default=-1 readonly=True
  • daf_text Char
    compute='_compute_daf_text'
  • extra_demand_ids One2many → ddmrp.adjustment.demand
    comodel_name='ddmrp.adjustment.demand' help='Demand associated to Demand Adjustment Factors applied to parent buffers.' inverse_name='buffer_id' string='Extra Demand'
  • parent_daf_applied Float
    default=-1 readonly=True
  • parent_daf_text Char
    compute='_compute_daf_text'
  • pre_daf_adu Float
    readonly=True
Public methods (6)
  • action_archive(self)
  • action_view_affecting_adu(self)
  • action_view_demand_to_components(self)
  • action_view_parent_affecting_adu(self)
  • cron_ddmrp_adu(self, automatic=False)
    @api.model
    Apply 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)
REPOSITORY
REPOSITORYOCA/ddmrp
GIT
GIThttps://github.com/OCA/ddmrp.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/ddmrp/tree/14.0/ddmrp_adjustment
VERSION
VERSION 1.5.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSLois Rilo, OCA Transbot, Sébastien Alix, oca-travis, Weblate, OCA-git-bot, oca-ci, BernatPForgeFlow, DavidJForgeFlow, JuMiSanAr
WEBSITE
WEBSITEhttps://github.com/OCA/ddmrp
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/ddmrp:
    - ddmrp
OCA/manufacture:
    - mrp_multi_level
    - mrp_warehouse_calendar
OCA/server-tools:
    - base_cron_exclusion
OCA/server-ux:
    - date_range
OCA/stock-logistics-warehouse:
    - stock_demand_estimate
    - stock_warehouse_calendar
    - stock_helper
OCA/web:
    - web_widget_bokeh_chart
    - web_widget_x2many_2d_matrix
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - purchase
    - mrp
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES bokeh==2.3.1
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
stock_buffer_view_form stock.buffer.form stock.buffer xpath Inherits ddmrp.stock_buffer_view_form
view_ddmrp_adjustment_demand_tree ddmrp.adjustment.demand.tree ddmrp.adjustment.demand tree 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_sheet_wizard_form ddmrp.adjustment.sheet.form1 ddmrp.adjustment.sheet form New
view_ddmrp_adjustment_tree ddmrp.adjustment.tree ddmrp.adjustment tree New
Models touched (5)

New fields (9)
  • adjustment_type Selection
    selection=[(DAF_string, 'Demand Adjustment Factor'), (LTAF_string, 'Lead Time Adjustment Factor')]
  • buffer_id Many2one → stock.buffer
    comodel_name='stock.buffer' required=True string='Buffer'
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True string='Company'
  • date_end Date
    related='date_range_id.date_end'
  • date_range_id Many2one → date.range
    comodel_name='date.range' required=True string='Date Range'
  • date_start Date
    related='date_range_id.date_start'
  • location_id Many2one → stock.location
    comodel_name='stock.location' readonly=True related='buffer_id.location_id'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True related='buffer_id.product_id'
  • value Float
    group_operator='avg'
Public methods (0)

No public methods.

New fields (9)
  • buffer_id Many2one → stock.buffer
    comodel_name='stock.buffer' string='Apply to'
  • buffer_origin_id Many2one → stock.buffer
    comodel_name='stock.buffer' ondelete='cascade' required=True string='Originated from'
  • company_id Many2one → res.company
    comodel_name='res.company' related='buffer_id.company_id'
  • date_end Date
    string='End date'
  • date_start Date
    string='Start date'
  • extra_demand Float
    string='Extra Demand'
  • product_id Many2one
    related='buffer_id.product_id'
  • product_origin_id Many2one
    related='buffer_origin_id.product_id' string='Origin Product'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='buffer_id.product_uom' string='Unit of Measure'
Public methods (0)

No public methods.

New fields (7)
  • apply_daf Boolean
    string='Demand Adjustment Factor'
  • apply_ltaf Boolean
    string='Lead Time Adjustment Factor'
  • buffer_ids Many2many → stock.buffer
    comodel_name='stock.buffer' string='DDMRP Buffers'
  • date_end Date
    required=True string='Date To'
  • date_range_type_id Many2one → date.range.type
    comodel_name='date.range.type' required=True string='Date Range Type'
  • date_start Date
    required=True string='Date From'
  • line_ids Many2many → ddmrp.adjustment.sheet.line
    comodel_name='ddmrp.adjustment.sheet.line' string='Adjustments'
Public methods (1)
  • button_validate(self)

New fields (4)
  • date_range_id Many2one → date.range
    comodel_name='date.range' string='Period'
  • factor Char
    string='Factors'
  • sheet_id Many2one → ddmrp.adjustment.sheet
    comodel_name='ddmrp.adjustment.sheet'
  • value Float
    string='Value'
Public methods (0)

No public methods.

New fields (7)
  • count_ddmrp_adjustment_demand Integer
    compute='_compute_count_ddmrp_adjustment_demand'
  • daf_applied Float
    default=-1 readonly=True
  • daf_text Char
    compute='_compute_daf_text'
  • extra_demand_ids One2many → ddmrp.adjustment.demand
    comodel_name='ddmrp.adjustment.demand' help='Demand associated to Demand Adjustment Factors applied to parent buffers.' inverse_name='buffer_id' string='Extra Demand'
  • parent_daf_applied Float
    default=-1 readonly=True
  • parent_daf_text Char
    compute='_compute_daf_text'
  • pre_daf_adu Float
    readonly=True
Public methods (6)
  • action_archive(self)
  • action_view_affecting_adu(self)
  • action_view_demand_to_components(self)
  • action_view_parent_affecting_adu(self)
  • cron_ddmrp_adu(self, automatic=False)
    @api.model
    Apply 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)
REPOSITORY
REPOSITORYOCA/ddmrp
GIT
GIThttps://github.com/OCA/ddmrp.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/ddmrp/tree/13.0/ddmrp_adjustment
VERSION
VERSION 1.4.0
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSLois Rilo, oca-travis, Weblate, OCA-git-bot, oca-ci, BernatPForgeFlow, DavidJForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/ddmrp
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/ddmrp:
    - ddmrp
OCA/manufacture:
    - mrp_multi_level
    - mrp_warehouse_calendar
OCA/server-tools:
    - base_cron_exclusion
OCA/server-ux:
    - date_range
OCA/stock-logistics-warehouse:
    - stock_demand_estimate
    - stock_warehouse_calendar
    - stock_helper
OCA/web:
    - web_widget_bokeh_chart
    - web_widget_x2many_2d_matrix
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - account
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - purchase
    - mrp
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES bokeh==1.1.0
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
stock_buffer_view_form stock.buffer.form stock.buffer xpath Inherits ddmrp.stock_buffer_view_form
view_ddmrp_adjustment_demand_tree ddmrp.adjustment.demand.tree ddmrp.adjustment.demand tree 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_sheet_wizard_form ddmrp.adjustment.sheet.form1 ddmrp.adjustment.sheet form New
view_ddmrp_adjustment_tree ddmrp.adjustment.tree ddmrp.adjustment tree New
Models touched (5)

New fields (9)
  • adjustment_type Selection
    selection=[(DAF_string, 'Demand Adjustment Factor'), (LTAF_string, 'Lead Time Adjustment Factor')]
  • buffer_id Many2one → stock.buffer
    comodel_name='stock.buffer' required=True string='Buffer'
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True string='Company'
  • date_end Date
    related='date_range_id.date_end'
  • date_range_id Many2one → date.range
    comodel_name='date.range' required=True string='Date Range'
  • date_start Date
    related='date_range_id.date_start'
  • location_id Many2one → stock.location
    comodel_name='stock.location' readonly=True related='buffer_id.location_id'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True related='buffer_id.product_id'
  • value Float
    group_operator='avg'
Public methods (0)

No public methods.

New fields (9)
  • buffer_id Many2one → stock.buffer
    comodel_name='stock.buffer' string='Apply to'
  • buffer_origin_id Many2one → stock.buffer
    comodel_name='stock.buffer' ondelete='cascade' required=True string='Originated from'
  • company_id Many2one → res.company
    comodel_name='res.company' related='buffer_id.company_id'
  • date_end Date
    string='End date'
  • date_start Date
    string='Start date'
  • extra_demand Float
    string='Extra Demand'
  • product_id Many2one
    related='buffer_id.product_id'
  • product_origin_id Many2one
    related='buffer_origin_id.product_id' string='Origin Product'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='buffer_id.product_uom' string='Unit of Measure'
Public methods (0)

No public methods.

New fields (7)
  • apply_daf Boolean
    string='Demand Adjustment Factor'
  • apply_ltaf Boolean
    string='Lead Time Adjustment Factor'
  • buffer_ids Many2many → stock.buffer
    comodel_name='stock.buffer' string='DDMRP Buffers'
  • date_end Date
    required=True string='Date To'
  • date_range_type_id Many2one → date.range.type
    comodel_name='date.range.type' required=True string='Date Range Type'
  • date_start Date
    required=True string='Date From'
  • line_ids Many2many → ddmrp.adjustment.sheet.line
    comodel_name='ddmrp.adjustment.sheet.line' string='Adjustments'
Public methods (1)
  • button_validate(self)

New fields (4)
  • date_range_id Many2one → date.range
    comodel_name='date.range' string='Period'
  • factor Char
    string='Factors'
  • sheet_id Many2one → ddmrp.adjustment.sheet
    comodel_name='ddmrp.adjustment.sheet'
  • value Float
    string='Value'
Public methods (0)

No public methods.

New fields (7)
  • count_ddmrp_adjustment_demand Integer
    compute='_compute_count_ddmrp_adjustment_demand'
  • daf_applied Float
    default=-1 readonly=True
  • daf_text Char
    compute='_compute_daf_text'
  • extra_demand_ids One2many → ddmrp.adjustment.demand
    comodel_name='ddmrp.adjustment.demand' help='Demand associated to Demand Adjustment Factors applied to parent buffers.' inverse_name='buffer_id' string='Extra Demand'
  • parent_daf_applied Float
    default=-1 readonly=True
  • parent_daf_text Char
    compute='_compute_daf_text'
  • pre_daf_adu Float
    readonly=True
Public methods (6)
  • action_archive(self)
  • action_view_affecting_adu(self)
  • action_view_demand_to_components(self)
  • action_view_parent_affecting_adu(self)
  • cron_ddmrp_adu(self, automatic=False)
    @api.model
    Apply 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)
REPOSITORY
REPOSITORYOCA/ddmrp
GIT
GIThttps://github.com/OCA/ddmrp.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/ddmrp/tree/11.0/ddmrp_adjustment
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent
COMMITTERS
COMMITTERSLois Rilo, OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/ddmrp
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/ddmrp:
    - ddmrp
OCA/manufacture:
    - mrp_bom_location
    - mrp_multi_level
    - mrp_warehouse_calendar
OCA/server-tools:
    - base_cron_exclusion
OCA/server-ux:
    - date_range
OCA/stock-logistics-warehouse:
    - stock_warehouse_orderpoint_stock_info
    - stock_warehouse_orderpoint_stock_info_unreserved
    - stock_available_unreserved
    - stock_orderpoint_purchase_link
    - stock_orderpoint_move_link
    - stock_orderpoint_uom
    - stock_orderpoint_manual_procurement
    - stock_demand_estimate
    - stock_warehouse_calendar
OCA/web:
    - web_tree_dynamic_colored_field
    - web_widget_x2many_2d_matrix
    - web_widget_bokeh_chart
odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - barcodes
    - web_planner
    - account
    - analytic
    - portal
    - http_routing
    - mrp
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES bokeh
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_ddmrp_adjustment_demand_tree ddmrp.adjustment.demand.tree ddmrp.adjustment.demand tree New
view_ddmrp_adjustment_search ddmrp.adjustment.search ddmrp.adjustment search New
view_ddmrp_adjustment_sheet_wizard_form ddmrp.adjustment.sheet.form1 ddmrp.adjustment.sheet form New
view_ddmrp_adjustment_tree ddmrp.adjustment.tree ddmrp.adjustment tree New
view_warehouse_orderpoint_form stock.warehouse.orderpoint.form stock.warehouse.orderpoint button Inherits stock.view_warehouse_orderpoint_form
Models touched (5)

New fields (7)
  • adjustment_type Selection
    selection=[(DAF_string, 'Demand Adjustment Factor'), (LTAF_string, 'Lead Time Adjustment Factor')]
  • buffer_id Many2one → stock.warehouse.orderpoint
    comodel_name='stock.warehouse.orderpoint' required=True string='Buffer'
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True string='Company'
  • date_range_id Many2one → date.range
    comodel_name='date.range' required=True string='Date Range'
  • location_id Many2one → stock.location
    comodel_name='stock.location' readonly=True related='buffer_id.location_id'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True related='buffer_id.product_id'
  • value Float
Public methods (0)

No public methods.

New fields (8)
  • buffer_id Many2one → stock.warehouse.orderpoint
    comodel_name='stock.warehouse.orderpoint' string='Apply to'
  • buffer_origin_id Many2one → stock.warehouse.orderpoint
    comodel_name='stock.warehouse.orderpoint' string='Originated from'
  • date_end Date
    string='End date'
  • date_start Date
    string='Start date'
  • extra_demand Float
    string='Extra Demand'
  • product_id Many2one
    related='buffer_id.product_id'
  • product_origin_id Many2one
    related='buffer_origin_id.product_id'
  • product_uom_id Many2one → product.uom
    comodel_name='product.uom' related='buffer_id.product_uom' string='Unit of Measure'
Public methods (0)

No public methods.

New fields (7)
  • apply_daf Boolean
    string='Demand Adjustment Factor'
  • apply_ltaf Boolean
    string='Lead Time Adjustment Factor'
  • buffer_ids Many2many → stock.warehouse.orderpoint
    comodel_name='stock.warehouse.orderpoint' string='DDMRP Buffers'
  • date_end Date
    required=True string='Date To'
  • date_range_type_id Many2one → date.range.type
    comodel_name='date.range.type' required=True string='Date Range Type'
  • date_start Date
    required=True string='Date From'
  • line_ids Many2many → ddmrp.adjustment.sheet.line
    comodel_name='ddmrp.adjustment.sheet.line' string='Adjustments'
Public methods (1)
  • button_validate(self)
    @api.multi

New fields (4)
  • date_range_id Many2one → date.range
    comodel_name='date.range' string='Period'
  • factor Char
    string='Factors'
  • sheet_id Many2one → ddmrp.adjustment.sheet
    comodel_name='ddmrp.adjustment.sheet'
  • value Float
    string='Value'
Public methods (0)

No public methods.

New fields (1)
  • extra_demand_ids One2many → ddmrp.adjustment.demand
    comodel_name='ddmrp.adjustment.demand' help='Demand associated to Demand Adjustment Factors applied to parent buffers.' inverse_name='buffer_id' string='Extra Demand'
Public methods (3)
  • action_view_demand_to_components(self)
    @api.multi
  • cron_ddmrp_adu(self, automatic=False)
    @api.model
    Apply 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)