TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/stock-logistics-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Warehouse Management
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://odoo-community.org/
Last tracking update
2026-10-03 22:16:53
Authors
Odoo, Odoo Community Association (OCA), Eficent
Maintainers
Odoo, Odoo Community Association (OCA), Eficent
Committers
Weblate, OCA Transbot, oca-travis, lreficent
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
quality_control_issue
Description

Code Analysis info_outline

Views touched (4)
XML IDNameModelTypeStatus
stock_scrap_form_view stock.scrap.form stock.scrap form New
stock_scrap_form_view2 stock.scrap.form2 stock.scrap form New
stock_scrap_search_view stock.scrap.search stock.scrap search New
stock_scrap_tree_view stock.scrap.tree stock.scrap tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (15)
  • date_expected Datetime
    default=fields.Datetime.now args: 'Expected Date'
  • location_id Many2one → stock.location
    default=_get_default_location_id domain="[('usage', '=', 'internal')]" required=True states={'done': [('readonly', True)]} args: 'stock.location', 'Location'
  • lot_id Many2one → stock.production.lot
    domain="[('product_id', '=', product_id)]" states={'done': [('readonly', True)]} args: 'stock.production.lot', 'Lot'
  • move_id Many2one → stock.move
    readonly=True args: 'stock.move', 'Scrap Move'
  • name Char
    copy=False default=<expr> readonly=True required=True states={'done': [('readonly', True)]} args: 'Reference'
  • origin Char
    string='Source Document'
  • owner_id Many2one → res.partner
    states={'done': [('readonly', True)]} args: 'res.partner', 'Owner'
  • package_id Many2one → stock.quant.package
    states={'done': [('readonly', True)]} args: 'stock.quant.package', 'Package'
  • picking_id Many2one → stock.picking
    states={'done': [('readonly', True)]} args: 'stock.picking', 'Picking'
  • product_id Many2one → product.product
    required=True states={'done': [('readonly', True)]} args: 'product.product', 'Product'
  • product_uom_id Many2one → product.uom
    required=True states={'done': [('readonly', True)]} args: 'product.uom', 'Unit of Measure'
  • scrap_location_id Many2one → stock.location
    default=_get_default_scrap_location_id domain="[('scrap_location', '=', True)]" required=True states={'done': [('readonly', True)]} args: 'stock.location', 'Scrap Location'
  • scrap_qty Float
    default=1.0 required=True states={'done': [('readonly', True)]} args: 'Quantity'
  • state Selection
    default='draft' string='Status' args: [('draft', 'Draft'), ('done', 'Done')]
  • tracking Selection
    readonly=True related='product_id.tracking' args: 'Product Tracking'
Public methods (7)
  • action_done(self)
    @api.multi
  • action_get_stock_move(self)
    @api.multi
  • action_get_stock_picking(self)
    @api.multi
  • create(self, vals)
    @api.model
  • do_scrap(self)
    @api.multi
  • onchange_product_id(self)
    @api.onchange('product_id')
  • unlink(self)
    @api.multi