Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 107 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.06 MB
Module directory on disk
Code analysis
5 migration notes
1 model
4 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
StockScrap— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (5 methods) migration-api-multi-one · sourcestock_scrap_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (2 occurrences in this file) migration-view-attrs-states · sourcestock_scrap_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_expectedDatetimedefault=fields.Datetime.now args: 'Expected Date' -
location_idMany2one → stock.locationdefault=_get_default_location_iddomain="[('usage', '=', 'internal')]"required=Truestates={'done': [('readonly', True)]} args: 'stock.location', 'Location' -
lot_idMany2one → stock.production.lotdomain="[('product_id', '=', product_id)]"states={'done': [('readonly', True)]} args: 'stock.production.lot', 'Lot' -
move_idMany2one → stock.movereadonly=True args: 'stock.move', 'Scrap Move' -
nameCharcopy=Falsedefault=<expr>readonly=Truerequired=Truestates={'done': [('readonly', True)]} args: 'Reference' -
originCharstring='Source Document' -
owner_idMany2one → res.partnerstates={'done': [('readonly', True)]} args: 'res.partner', 'Owner' -
package_idMany2one → stock.quant.packagestates={'done': [('readonly', True)]} args: 'stock.quant.package', 'Package' -
picking_idMany2one → stock.pickingstates={'done': [('readonly', True)]} args: 'stock.picking', 'Picking' -
product_idMany2one → product.productrequired=Truestates={'done': [('readonly', True)]} args: 'product.product', 'Product' -
product_uom_idMany2one → product.uomrequired=Truestates={'done': [('readonly', True)]} args: 'product.uom', 'Unit of Measure' -
scrap_location_idMany2one → stock.locationdefault=_get_default_scrap_location_iddomain="[('scrap_location', '=', True)]"required=Truestates={'done': [('readonly', True)]} args: 'stock.location', 'Scrap Location' -
scrap_qtyFloatdefault=1.0required=Truestates={'done': [('readonly', True)]} args: 'Quantity' -
stateSelectiondefault='draft'string='Status' args: [('draft', 'Draft'), ('done', 'Done')] -
trackingSelectionreadonly=Truerelated='product_id.tracking' args: 'Product Tracking'
-
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