Mass Scrap
stock_mass_scrap · OCA/stock-logistics-workflow
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 46 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_scrapDatetimedefault=<expr>help='All the serial numbers/lots with an expiration date inferior to this date will be scrapped'required=Truestring='Expiration date to scrap' -
scrap_location_idMany2one → stock.locationcomodel_name='stock.location'default=<expr>domain="[('scrap_location', '=', True)]"required=True -
specific_warehouse_idMany2one → stock.warehousecomodel_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_idsMany2many → stock.quantcomodel_name='stock.quant'readonly=True
-
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)