Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 22 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 11.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis 0 migration notes 3 models 1 view 0 HTTP endpoints

Description

This module extends the functionality of stock module to allow to scrap quantities quickly from a picking.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
view_stock_picking_scrap_form Picking Scrap wiz.stock.picking.scrap form New

HTTP endpoints 0

No HTTP endpoints found for this module.

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.

Loading…

Loading…

Loading…

Loading…