Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 46 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 14.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.05 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

Description

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
mass_scrap_view_form mass.scrap.form mass.scrap form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (4)
  • date_expiration_to_scrap Datetime
    default=<expr> help='All the serial numbers/lots with an expiration date inferior to this date will be scrapped' required=True string='Expiration date to scrap'
  • scrap_location_id Many2one → stock.location
    comodel_name='stock.location' default=<expr> domain="[('scrap_location', '=', True)]" required=True
  • specific_warehouse_id Many2one → stock.warehouse
    comodel_name='stock.warehouse' help='If you choose a warehouse here, only the serial numbers/lots currently stored in this warehouse will be scrapped'
  • stock_quant_ids Many2many → stock.quant
    comodel_name='stock.quant' readonly=True
Public methods (2)
  • button_confirm(self)
    Create a scrap for each selected quant.
  • onchange_quants_to_scrap(self)
    @api.onchange('date_expiration_to_scrap', 'scrap_location_id', 'specific_warehouse_id')

New fields (0)

No new fields.

Public methods (1)
  • mass_validate(self)