MRP BoM Current Stock

mrp_bom_current_stock
REPOSITORY
REPOSITORYOCA/manufacture-reporting
GIT
GIThttps://github.com/OCA/manufacture-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture-reporting/tree/18.0/mrp_bom_current_stock
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYManufacture
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Arnau
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/reporting-engine:
    - report_xlsx
odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This modules extend the Manufacturing App adding a report that explodes
the bill of materials and show the stock available in the source
location.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mrp_bom_current_stock_view_form mrp.bom.current.stock.form mrp.bom.current.stock form New
mrp_bom_current_stock_view_form2 mrp.bom.current.stock.form2 mrp.bom.current.stock form New
report_mrpbom_current_stock_pdf report_mrpbom_current_stock_pdf ir.ui.view qweb New
Models touched (3)

New fields (7)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' required=True string='Starting Bill of Materials'
  • line_ids One2many → mrp.bom.current.stock.line
    comodel_name='mrp.bom.current.stock.line' inverse_name='explosion_id'
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Starting location'
  • product_id Many2one → product.product
    comodel_name='product.product' domain="[('type', 'in', ['product', 'consu'])]" required=True string='Product Variant'
  • product_qty Float
    digits='Product Unit of Measure' related='bom_id.product_qty'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' related='product_id.product_tmpl_id' string='Product Template'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='bom_id.product_uom_id'
Public methods (1)
  • do_explode(self)

New fields (9)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' readonly=True related='bom_line.bom_id' string='Parent BoM'
  • bom_level Integer
    readonly=True string='BoM Level'
  • bom_line Many2one → mrp.bom.line
    comodel_name='mrp.bom.line' readonly=True string='BoM line'
  • explosion_id Many2one → mrp.bom.current.stock
    comodel_name='mrp.bom.current.stock' readonly=True
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Source location'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product Variant'
  • product_qty Float
    digits='Product Unit of Measure' readonly=True string='Product Quantity'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' readonly=True string='Product Unit of Measure'
  • qty_available_in_source_loc Float
    compute='_compute_qty_available_in_source_loc' readonly=True string='Qty Available in Source'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • generate_xlsx_report(self, workbook, data, objects)
REPOSITORY
REPOSITORYOCA/manufacture-reporting
GIT
GIThttps://github.com/OCA/manufacture-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture-reporting/tree/17.0/mrp_bom_current_stock
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYManufacture
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Arnau
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/reporting-engine:
    - report_xlsx
odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xlrd
xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This modules extend the Manufacturing App adding a report that explodes
the bill of materials and show the stock available in the source
location.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mrp_bom_current_stock_view_form mrp.bom.current.stock.form mrp.bom.current.stock form New
mrp_bom_current_stock_view_form2 mrp.bom.current.stock.form2 mrp.bom.current.stock form New
report_mrpbom_current_stock_pdf report_mrpbom_current_stock_pdf ir.ui.view qweb New
Models touched (3)

New fields (7)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' required=True string='Starting Bill of Materials'
  • line_ids One2many → mrp.bom.current.stock.line
    comodel_name='mrp.bom.current.stock.line' inverse_name='explosion_id'
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Starting location'
  • product_id Many2one → product.product
    comodel_name='product.product' domain="[('type', 'in', ['product', 'consu'])]" required=True string='Product Variant'
  • product_qty Float
    digits='Product Unit of Measure' related='bom_id.product_qty'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' related='product_id.product_tmpl_id' string='Product Template'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='bom_id.product_uom_id'
Public methods (1)
  • do_explode(self)

New fields (9)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' readonly=True related='bom_line.bom_id' string='Parent BoM'
  • bom_level Integer
    readonly=True string='BoM Level'
  • bom_line Many2one → mrp.bom.line
    comodel_name='mrp.bom.line' readonly=True string='BoM line'
  • explosion_id Many2one → mrp.bom.current.stock
    comodel_name='mrp.bom.current.stock' readonly=True
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Source location'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product Variant'
  • product_qty Float
    digits='Product Unit of Measure' readonly=True string='Product Quantity'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' readonly=True string='Product Unit of Measure'
  • qty_available_in_source_loc Float
    compute='_compute_qty_available_in_source_loc' readonly=True string='Qty Available in Source'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • generate_xlsx_report(self, workbook, data, objects)
REPOSITORY
REPOSITORYOCA/manufacture-reporting
GIT
GIThttps://github.com/OCA/manufacture-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture-reporting/tree/16.0/mrp_bom_current_stock
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYManufacture
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, aiendry-aktivsoftware, Dhara Solanki
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:54:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - mrp_bom_location
OCA/reporting-engine:
    - report_xlsx
odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mrp_bom_current_stock_view_form mrp.bom.current.stock.form mrp.bom.current.stock form New
mrp_bom_current_stock_view_form2 mrp.bom.current.stock.form2 mrp.bom.current.stock form New
report_mrpbom_current_stock_pdf report_mrpbom_current_stock_pdf ir.ui.view qweb New
Models touched (3)

New fields (7)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' required=True string='Starting Bill of Materials'
  • line_ids One2many → mrp.bom.current.stock.line
    comodel_name='mrp.bom.current.stock.line' inverse_name='explosion_id'
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Starting location'
  • product_id Many2one → product.product
    comodel_name='product.product' domain="[('type', 'in', ['product', 'consu'])]" required=True string='Product Variant'
  • product_qty Float
    digits='Product Unit of Measure' related='bom_id.product_qty'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' related='product_id.product_tmpl_id' string='Product Template'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='bom_id.product_uom_id'
Public methods (1)
  • do_explode(self)

New fields (9)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' readonly=True related='bom_line.bom_id' string='Parent BoM'
  • bom_level Integer
    readonly=True string='BoM Level'
  • bom_line Many2one → mrp.bom.line
    comodel_name='mrp.bom.line' readonly=True string='BoM line'
  • explosion_id Many2one → mrp.bom.current.stock
    comodel_name='mrp.bom.current.stock' readonly=True
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Source location'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product Variant'
  • product_qty Float
    digits='Product Unit of Measure' readonly=True string='Product Quantity'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' readonly=True string='Product Unit of Measure'
  • qty_available_in_source_loc Float
    compute='_compute_qty_available_in_source_loc' readonly=True string='Qty Available in Source'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • generate_xlsx_report(self, workbook, data, objects)
REPOSITORY
REPOSITORYOCA/manufacture-reporting
GIT
GIThttps://github.com/OCA/manufacture-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture-reporting/tree/15.0/mrp_bom_current_stock
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYManufacture
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Bernat Puig Font
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:44
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - mrp_bom_location
OCA/reporting-engine:
    - report_xlsx
odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xlrd
xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mrp_bom_current_stock_view_form mrp.bom.current.stock.form mrp.bom.current.stock form New
mrp_bom_current_stock_view_form2 mrp.bom.current.stock.form2 mrp.bom.current.stock form New
report_mrpbom_current_stock_pdf report_mrpbom_current_stock_pdf ir.ui.view qweb New
Models touched (3)

New fields (7)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' required=True string='Starting Bill of Materials'
  • line_ids One2many → mrp.bom.current.stock.line
    comodel_name='mrp.bom.current.stock.line' inverse_name='explosion_id'
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Starting location'
  • product_id Many2one → product.product
    comodel_name='product.product' domain="[('type', 'in', ['product', 'consu'])]" required=True string='Product Variant'
  • product_qty Float
    digits='Product Unit of Measure' related='bom_id.product_qty'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' related='product_id.product_tmpl_id' string='Product Template'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='bom_id.product_uom_id'
Public methods (1)
  • do_explode(self)

New fields (9)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' readonly=True related='bom_line.bom_id' string='Parent BoM'
  • bom_level Integer
    readonly=True string='BoM Level'
  • bom_line Many2one → mrp.bom.line
    comodel_name='mrp.bom.line' readonly=True string='BoM line'
  • explosion_id Many2one → mrp.bom.current.stock
    comodel_name='mrp.bom.current.stock' readonly=True
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Source location'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product Variant'
  • product_qty Float
    digits='Product Unit of Measure' readonly=True string='Product Quantity'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' readonly=True string='Product Unit of Measure'
  • qty_available_in_source_loc Float
    compute='_compute_qty_available_in_source_loc' readonly=True string='Qty Available in Source'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • generate_xlsx_report(self, workbook, data, objects)
REPOSITORY
REPOSITORYOCA/manufacture-reporting
GIT
GIThttps://github.com/OCA/manufacture-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture-reporting/tree/14.0/mrp_bom_current_stock
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYManufacture
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSJordi Ballester Alomar, oca-travis, Weblate, OCA-git-bot, oca-ci, BernatPForgeFlow, Bernat Puig Font
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/reporting-engine:
    - report_xlsx
OCA/stock-logistics-warehouse:
    - stock_helper
odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mrp_bom_current_stock_view_form mrp.bom.current.stock.form mrp.bom.current.stock form New
mrp_bom_current_stock_view_form2 mrp.bom.current.stock.form2 mrp.bom.current.stock form New
report_mrpbom_current_stock_pdf report_mrpbom_current_stock_pdf ir.ui.view qweb New
Models touched (3)

New fields (14)
  • availability Selection
    compute='_compute_availability' help='The field shows the availability that you have taking into account the potential quantity that could end up being manufactured.' store=True args: [('available', 'Available'), ('not_available', 'Not Available')]
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' required=True string='Starting Bill of Materials'
  • desired_qty Integer
    default=1 string='Desired Quantity'
  • exclude_location_ids Many2many → stock.location
    comodel_name='stock.location' domain="[('id', 'child_of', location_id), ('id', '!=', location_id)]" help='Select only the parent location you want to exclude.' string='Exclude locations'
  • explosion_type Selection
    default='all' args: [('one', 'One Level'), ('all', 'All Levels')]
  • line_ids One2many → mrp.bom.current.stock.line
    comodel_name='mrp.bom.current.stock.line' inverse_name='wizard_id'
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Source location'
  • potential_qty Float
  • potential_qty_rounded Integer
    compute='_compute_potential_qty_rounded' help='Potential quantity that could be manufactured given all current on-hand stock at the specified locations.' store='True' string='Potential Quantity'
  • product_id Many2one → product.product
    comodel_name='product.product' domain="[('type', 'in', ['product', 'consu'])]" required=True string='Product Variant'
  • product_qty Float
    digits='Product Unit of Measure' related='bom_id.product_qty'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' related='product_id.product_tmpl_id' string='Product Template'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='bom_id.product_uom_id'
  • qty_available_in_source_loc Float
    compute='_compute_qty_available_in_source_loc' store=True string='Qty Available in Source'
Public methods (3)
  • action_go_back(self)
  • compute_potential_qty(self, rec, bom, level)
  • do_explode(self)

New fields (14)
  • availability Selection
    compute='_compute_availability' help='The field shows the availability that you have taking into account the available quantity that could end up being manufactured.' args: [('available', 'Available'), ('not_available', 'Not Available')]
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' compute='_compute_bom_id' readonly=True store=True string='BoM'
  • bom_level Integer
    readonly=True string='BoM Level'
  • bom_line_id Many2one → mrp.bom.line
    comodel_name='mrp.bom.line' readonly=True string='BoM line'
  • bom_type Selection
    readonly=True related='bom_id.type'
  • explosion_type Selection
    related='wizard_id.explosion_type' store=True
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Source location'
  • parent_bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' related='bom_line_id.bom_id' string='Parent BoM'
  • potential_qty Float
    compute='_compute_potential_qty' digits='Product Unit of Measure' help='Potential quantity that could be manufactured given all current on-hand stock at the specified locations.' store=True string='Potential Quantity'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True related='bom_line_id.product_id' string='Product Variant'
  • product_qty Float
    default=1 digits='Product Unit of Measure' readonly=True string='Product Quantity'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='bom_line_id.product_uom_id' string='Product Unit of Measure'
  • qty_available_in_source_loc Float
    compute='_compute_qty_available_in_source_loc' digits='Product Unit of Measure' string='Qty Available in Source'
  • wizard_id Many2one → mrp.bom.current.stock
    comodel_name='mrp.bom.current.stock' readonly=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • generate_xlsx_report(self, workbook, data, objects)
REPOSITORY
REPOSITORYOCA/manufacture-reporting
GIT
GIThttps://github.com/OCA/manufacture-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture-reporting/tree/13.0/mrp_bom_current_stock
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYManufacture
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSmreficent, Víctor Martínez, oca-travis, Weblate, OCA-git-bot, Joan Sisquella
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - mrp_bom_location
OCA/reporting-engine:
    - report_xlsx
odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mrp_bom_current_stock_view_form mrp.bom.current.stock.form mrp.bom.current.stock form New
mrp_bom_current_stock_view_form2 mrp.bom.current.stock.form2 mrp.bom.current.stock form New
report_mrpbom_current_stock_pdf report_mrpbom_current_stock_pdf ir.ui.view qweb New
Models touched (3)

New fields (7)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' required=True string='Starting Bill of Materials'
  • line_ids One2many → mrp.bom.current.stock.line
    comodel_name='mrp.bom.current.stock.line' inverse_name='explosion_id'
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Starting location'
  • product_id Many2one → product.product
    comodel_name='product.product' domain="[('type', 'in', ['product', 'consu'])]" required=True string='Product Variant'
  • product_qty Float
    digits='Product Unit of Measure' related='bom_id.product_qty'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' related='product_id.product_tmpl_id' string='Product Template'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='bom_id.product_uom_id'
Public methods (1)
  • do_explode(self)

New fields (9)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' redonly=True related='bom_line.bom_id' string='Parent BoM'
  • bom_level Integer
    readonly=True string='BoM Level'
  • bom_line Many2one → mrp.bom.line
    comodel_name='mrp.bom.line' redonly=True string='BoM line'
  • explosion_id Many2one → mrp.bom.current.stock
    comodel_name='mrp.bom.current.stock' readonly=True
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Source location'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product Variant'
  • product_qty Float
    digits='Product Unit of Measure' readonly=True string='Product Quantity'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' readonly=True string='Product Unit of Measure'
  • qty_available_in_source_loc Float
    compute='_compute_qty_available_in_source_loc' redonly=True string='Qty Available in Source'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • generate_xlsx_report(self, workbook, data, objects)
REPOSITORY
REPOSITORYOCA/manufacture-reporting
GIT
GIThttps://github.com/OCA/manufacture-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture-reporting/tree/12.0/mrp_bom_current_stock
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYManufacture
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent
COMMITTERS
COMMITTERSVíctor Martínez, oca-travis, Weblate, OCA-git-bot, hveficent
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - mrp_bom_location
OCA/reporting-engine:
    - report_xlsx
odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xlrd
xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mrp_bom_current_stock_view_form mrp.bom.current.stock.form mrp.bom.current.stock form New
mrp_bom_current_stock_view_form2 mrp.bom.current.stock.form2 mrp.bom.current.stock form New
report_mrpbom_current_stock_pdf report_mrpbom_current_stock_pdf ir.ui.view qweb New
Models touched (3)

New fields (7)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' required=True string='Starting Bill of Materials'
  • line_ids One2many → mrp.bom.current.stock.line
    comodel_name='mrp.bom.current.stock.line' inverse_name='explosion_id'
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Starting location'
  • product_id Many2one → product.product
    comodel_name='product.product' domain="[('type', 'in', ['product', 'consu'])]" required=True string='Product Variant'
  • product_qty Float
    digits=dp.get_precision('Product Unit of Measure') related='bom_id.product_qty'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' related='product_id.product_tmpl_id' string='Product Template'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' related='bom_id.product_uom_id'
Public methods (1)
  • do_explode(self)
    @api.multi

New fields (9)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' redonly=True related='bom_line.bom_id' string='Parent BoM'
  • bom_level Integer
    readonly=True string='BoM Level'
  • bom_line Many2one → mrp.bom.line
    comodel_name='mrp.bom.line' redonly=True string='BoM line'
  • explosion_id Many2one → mrp.bom.current.stock
    comodel_name='mrp.bom.current.stock' readonly=True
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Source location'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product Variant'
  • product_qty Float
    digits=dp.get_precision('Product Unit of Measure') readonly=True string='Product Quantity'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' readonly=True string='Product Unit of Measure'
  • qty_available_in_source_loc Float
    compute='_compute_qty_available_in_source_loc' redonly=True string='Qty Available in Source'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • generate_xlsx_report(self, workbook, data, objects)
REPOSITORY
REPOSITORYOCA/manufacture-reporting
GIT
GIThttps://github.com/OCA/manufacture-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture-reporting/tree/11.0/mrp_bom_current_stock
VERSION
VERSION 2.0.1
CATEGORY
CATEGORYManufacture
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-travis, mpanarin, hveficent
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture-reporting
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - mrp_bom_location
OCA/reporting-engine:
    - report_xlsx
odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - stock
    - barcodes
    - web_planner
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xlrd
xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mrp_bom_current_stock_view_form mrp.bom.current.stock.form mrp.bom.current.stock form New
mrp_bom_current_stock_view_form2 mrp.bom.current.stock.form2 mrp.bom.current.stock form New
report_mrpbom_current_stock_pdf report_mrpbom_current_stock_pdf ir.ui.view qweb New
Models touched (3)

New fields (7)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' required=True string='Starting Bill of Materials'
  • line_ids One2many → mrp.bom.current.stock.line
    comodel_name='mrp.bom.current.stock.line' inverse_name='explosion_id'
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Starting location'
  • product_id Many2one → product.product
    comodel_name='product.product' domain="[('type', 'in', ['product', 'consu'])]" required=True string='Product Variant'
  • product_qty Float
    digits=dp.get_precision('Product Unit of Measure') related='bom_id.product_qty'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' related='product_id.product_tmpl_id' string='Product Template'
  • product_uom_id Many2one → product.uom
    comodel_name='product.uom' related='bom_id.product_uom_id'
Public methods (1)
  • do_explode(self)
    @api.multi

New fields (9)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' redonly=True related='bom_line.bom_id' string='Parent BoM'
  • bom_level Integer
    readonly=True string='BoM Level'
  • bom_line Many2one → mrp.bom.line
    comodel_name='mrp.bom.line' redonly=True string='BoM line'
  • explosion_id Many2one → mrp.bom.current.stock
    comodel_name='mrp.bom.current.stock' readonly=True
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Source location'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product Variant'
  • product_qty Float
    digits=dp.get_precision('Product Unit of Measure') readonly=True string='Product Quantity'
  • product_uom_id Many2one → product.uom
    comodel_name='product.uom' readonly=True string='Product Unit of Measure'
  • qty_available_in_source_loc Float
    compute='_compute_qty_available_in_source_loc' redonly=True string='Qty Available in Source'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • generate_xlsx_report(self, workbook, data, objects)
REPOSITORY
REPOSITORYOCA/manufacture-reporting
GIT
GIThttps://github.com/OCA/manufacture-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture-reporting/tree/10.0/mrp_bom_current_stock
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYManufacture
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent
COMMITTERS
COMMITTERSJordi Ballester Alomar, oca-travis
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - mrp_bom_location
odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - stock
    - procurement
    - barcodes
    - web_planner
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mrp_bom_current_stock_view_form mrp.bom.current.stock.form mrp.bom.current.stock form New
mrp_bom_current_stock_view_form2 mrp.bom.current.stock.form2 mrp.bom.current.stock form New
report_mrpbomstructure report_mrpbomstructure ir.ui.view qweb New
Models touched (2)

New fields (7)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' required=True string='Starting Bill of Materials'
  • line_ids One2many → mrp.bom.current.stock.line
    comodel_name='mrp.bom.current.stock.line' inverse_name='explosion_id'
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Starting location'
  • product_id Many2one → product.product
    comodel_name='product.product' domain="[('type', 'in', ['product', 'consu'])]" required=True string='Product Variant'
  • product_qty Float
    digits=dp.get_precision('Product Unit of Measure') related='bom_id.product_qty'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' related='product_id.product_tmpl_id' string='Product Template'
  • product_uom_id Many2one → product.uom
    comodel_name='product.uom' related='bom_id.product_uom_id'
Public methods (1)
  • do_explode(self)
    @api.multi

New fields (8)
  • bom_level Integer
    readonly=True string='BoM Level'
  • bom_line Many2one → mrp.bom.line
    comodel_name='mrp.bom.line' string='BoM line'
  • explosion_id Many2one → mrp.bom.current.stock
    comodel_name='mrp.bom.current.stock'
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Source location'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product Variant'
  • product_qty Float
    digits=dp.get_precision('Product Unit of Measure') readonly=True string='Product Quantity'
  • product_uom_id Many2one → product.uom
    comodel_name='product.uom' readonly=True string='Product Unit of Measure'
  • qty_available_in_source_loc Float
    compute='_compute_qty_available_in_source_loc' string='Qty Available in Source'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/manufacture-reporting
GIT
GIThttps://github.com/OCA/manufacture-reporting.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture-reporting/tree/9.0/mrp_bom_current_stock
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYManufacture
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent
COMMITTERS
COMMITTERSJordi Ballester, OCA Transbot, oca-travis
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - mrp_bom_location
odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - procurement
    - stock_account
    - stock
    - barcodes
    - web_planner
    - account
    - analytic
    - web_tip
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
mrp_bom_current_stock_view_form mrp.bom.current.stock.form mrp.bom.current.stock form New
mrp_bom_current_stock_view_form2 mrp.bom.current.stock.form2 mrp.bom.current.stock form New
report_mrpbomstructure report_mrpbomstructure ir.ui.view qweb New
Models touched (2)

New fields (7)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' required=True string='Starting Bill of Materials'
  • line_ids One2many → mrp.bom.current.stock.line
    comodel_name='mrp.bom.current.stock.line' inverse_name='explosion_id'
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Starting location'
  • product_id Many2one → product.product
    comodel_name='product.product' domain="[('type', 'in', ['product', 'consu'])]" required=True string='Product Variant'
  • product_qty Float
    digits_compute=dp.get_precision('Product Unit of Measure') related='bom_id.product_qty'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' related='product_id.product_tmpl_id' string='Product Template'
  • product_uom_id Many2one → product.uom
    comodel_name='product.uom' related='bom_id.product_uom'
Public methods (1)
  • do_explode(self)
    @api.multi

New fields (8)
  • bom_level Integer
    readonly=True string='BoM Level'
  • bom_line Many2one → mrp.bom.line
    comodel_name='mrp.bom.line' string='BoM line'
  • explosion_id Many2one → mrp.bom.current.stock
    comodel_name='mrp.bom.current.stock'
  • location_id Many2one → stock.location
    comodel_name='stock.location' string='Source location'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product Variant'
  • product_qty Float
    digits_compute=dp.get_precision('Product Unit of Measure') readonly=True string='Product Quantity'
  • product_uom_id Many2one → product.uom
    comodel_name='product.uom' readonly=True string='Product Unit of Measure'
  • qty_available_in_source_loc Float
    compute=_compute_qty_available_in_source_loc string='Qty Available in Source'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/manufacture-reporting
PULL REQUEST
PULL REQUEST[19.0][MIG] mrp_bom_current_stock: Migration to 19.0 (#153)