Stock Picking Whole Scrap

stock_picking_whole_scrap
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/18.0/stock_picking_whole_scrap
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, juancarlosonate-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - 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
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of stock module to allow to scrap
quantities quickly from a picking.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_stock_picking_scrap_form Picking Scrap wiz.stock.picking.scrap form New
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • button_whole_scrap(self)

New fields (3)
  • line_ids One2many → wiz.stock.picking.scrap.line
    comodel_name='wiz.stock.picking.scrap.line' inverse_name='wizard_id' string='Moves'
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking'
  • scrap_location_id Many2one → stock.location
    comodel_name='stock.location' domain=[('scrap_location', '=', True)] string='Scrap Location'
Public methods (2)
  • create_scrap(self)
  • default_get(self, fields)
    @api.model

New fields (10)
  • lot_id Many2one → stock.lot
    comodel_name='stock.lot' readonly=True string='Lot'
  • move_line_id Many2one → stock.move.line
    comodel_name='stock.move.line' string='Move Line'
  • owner_id Many2one → res.partner
    comodel_name='res.partner' readonly=True string='Owner'
  • package_id Many2one → stock.quant.package
    comodel_name='stock.quant.package' readonly=True string='Package'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product'
  • quantity Float
    digits='Product Unit of Measure' required=True
  • scrap_reason_tag_ids Many2many → stock.scrap.reason.tag
    comodel_name='stock.scrap.reason.tag' string='Scrap Reason'
  • should_replenish Boolean
    help='Trigger replenishment for scrapped products' string='Replenish Quantities'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' readonly=True string='Unit of Measure'
  • wizard_id Many2one → wiz.stock.picking.scrap
    comodel_name='wiz.stock.picking.scrap' string='Wizard'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/15.0/stock_picking_whole_scrap
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, CarlosRoca13, Juany Davila, josep-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:37
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - 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 (2)
XML IDNameModelTypeStatus
view_picking_form stock.picking field Inherits stock.view_picking_form
view_stock_picking_scrap_form Picking Scrap wiz.stock.picking.scrap form New
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • button_whole_scrap(self)

New fields (3)
  • line_ids One2many → wiz.stock.picking.scrap.line
    comodel_name='wiz.stock.picking.scrap.line' inverse_name='wizard_id' string='Moves'
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking'
  • scrap_location_id Many2one → stock.location
    comodel_name='stock.location' domain=[('scrap_location', '=', True)] string='Scrap Location'
Public methods (2)
  • create_scrap(self)
  • default_get(self, fields)
    @api.model

New fields (8)
  • lot_id Many2one → stock.production.lot
    comodel_name='stock.production.lot' readonly=True string='Lot'
  • move_line_id Many2one → stock.move.line
    comodel_name='stock.move.line' string='Move Line'
  • owner_id Many2one → res.partner
    comodel_name='res.partner' readonly=True string='Owner'
  • package_id Many2one → stock.quant.package
    comodel_name='stock.quant.package' readonly=True string='Package'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product'
  • quantity Float
    digits='Product Unit of Measure' required=True
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' readonly=True string='Unit of Measure'
  • wizard_id Many2one → wiz.stock.picking.scrap
    comodel_name='wiz.stock.picking.scrap' string='Wizard'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/13.0/stock_picking_whole_scrap
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA Transbot, Sergio Teruel, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_picking_form stock.picking field Inherits stock.view_picking_form
view_stock_picking_scrap_form Picking Scrap wiz.stock.picking.scrap form New
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • button_whole_scrap(self)

New fields (3)
  • line_ids One2many → wiz.stock.picking.scrap.line
    comodel_name='wiz.stock.picking.scrap.line' inverse_name='wizard_id' string='Moves'
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking'
  • scrap_location_id Many2one → stock.location
    comodel_name='stock.location' domain=[('scrap_location', '=', True)] string='Scrap Location'
Public methods (2)
  • create_scrap(self)
  • default_get(self, fields)
    @api.model

New fields (8)
  • lot_id Many2one → stock.production.lot
    comodel_name='stock.production.lot' readonly=True string='Lot'
  • move_line_id Many2one → stock.move.line
    comodel_name='stock.move.line' string='Move Line'
  • owner_id Many2one → res.partner
    comodel_name='res.partner' readonly=True string='Owner'
  • package_id Many2one → stock.quant.package
    comodel_name='stock.quant.package' readonly=True string='Package'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product'
  • quantity Float
    digits='Product Unit of Measure' required=True string='Quantity'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' readonly=True string='Unit of Measure'
  • wizard_id Many2one → wiz.stock.picking.scrap
    comodel_name='wiz.stock.picking.scrap' string='Wizard'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/12.0/stock_picking_whole_scrap
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA Transbot, Sergio Teruel, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_picking_form stock.picking field Inherits stock.view_picking_form
view_stock_picking_scrap_form Picking Scrap wiz.stock.picking.scrap form New
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • button_whole_scrap(self)

New fields (3)
  • line_ids One2many → wiz.stock.picking.scrap.line
    comodel_name='wiz.stock.picking.scrap.line' inverse_name='wizard_id' string='Moves'
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking'
  • scrap_location_id Many2one → stock.location
    comodel_name='stock.location' domain=[('scrap_location', '=', True)] string='Scrap Location'
Public methods (2)
  • create_scrap(self)
  • default_get(self, fields)
    @api.model

New fields (8)
  • lot_id Many2one → stock.production.lot
    comodel_name='stock.production.lot' readonly=True string='Lot'
  • move_line_id Many2one → stock.move.line
    comodel_name='stock.move.line' string='Move Line'
  • owner_id Many2one → res.partner
    comodel_name='res.partner' readonly=True string='Owner'
  • package_id Many2one → stock.quant.package
    comodel_name='stock.quant.package' readonly=True string='Package'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product'
  • quantity Float
    digits=dp.get_precision('Product Unit of Measure') required=True string='Quantity'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' readonly=True string='Unit of Measure'
  • wizard_id Many2one → wiz.stock.picking.scrap
    comodel_name='wiz.stock.picking.scrap' string='Wizard'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/11.0/stock_picking_whole_scrap
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSGitHub, Sergio Teruel, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - barcodes
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_picking_form stock.picking field Inherits stock.view_picking_form
view_stock_picking_scrap_form Picking Scrap wiz.stock.picking.scrap form New
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • button_whole_scrap(self)

New fields (3)
  • line_ids One2many → wiz.stock.picking.scrap.line
    comodel_name='wiz.stock.picking.scrap.line' inverse_name='wizard_id' string='Moves'
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking'
  • scrap_location_id Many2one → stock.location
    comodel_name='stock.location' domain=[('scrap_location', '=', True)] string='Scrap Location'
Public methods (2)
  • create_scrap(self)
  • default_get(self, fields)
    @api.model

New fields (8)
  • lot_id Many2one → stock.production.lot
    comodel_name='stock.production.lot' readonly=True string='Lot'
  • move_line_id Many2one → stock.move.line
    comodel_name='stock.move.line' string='Move Line'
  • owner_id Many2one → res.partner
    comodel_name='res.partner' readonly=True string='Owner'
  • package_id Many2one → stock.quant.package
    comodel_name='stock.quant.package' readonly=True string='Package'
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Product'
  • quantity Float
    digits=dp.get_precision('Product Unit of Measure') required=True string='Quantity'
  • uom_id Many2one → product.uom
    comodel_name='product.uom' readonly=True string='Unit of Measure'
  • wizard_id Many2one → wiz.stock.picking.scrap
    comodel_name='wiz.stock.picking.scrap' string='Wizard'
Public methods (0)

No public methods.