Field Service Stock Scrap
fieldservice_stock_scrap · OCA/field-service
Health
47/100
poor
-
Security25/25No findings
-
Activity12/25Last human commit 17 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 17.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.08 MB
Module directory on disk
Code analysis
0 migration notes
4 models
4 views
0 HTTP endpoints
Description
Scrap stock from Field Service orders of Stock Requests with inbound direction
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 |
|---|---|---|---|---|
fsm_order_form |
fsm.order.form | fsm.order | form | Inherits fieldservice.fsm_order_form |
scrap_stock_wizard_view_form |
scrap.stock.wizard.form | scrap.stock.wizard | form | New |
stock_scrap_form |
stock.scrap.form | stock.scrap | form | Inherits stock.stock_scrap_form_view |
stock_scrap_tree |
stock.scrap.tree | stock.scrap | tree | Inherits stock.stock_scrap_tree_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (2)
-
scrap_countIntegercompute='_compute_scrap_ids'string='Scrap Orders' -
scrap_idsOne2many → stock.scrapstring='Scrap Operations' args: 'stock.scrap', 'fsm_order_id'
-
action_scrap_stock(self) -
action_view_scraps(self)
New fields (6)
-
location_idMany2one → stock.locationdomain="[('usage','=','internal')]"required=True args: 'stock.location', 'Internal Location' -
product_idMany2one → product.productdomain="[('type', 'in', ['product', 'consu'])]"required=True args: 'product.product' -
quantityFloatdefault=1digits='Product Unit of Measure'required=True -
scrap_qtyFloatdefault=0digits='Product Unit of Measure'required=True args: 'Scrap Quantity' -
scrap_stock_idMany2one → scrap.stock.wizardargs: 'scrap.stock.wizard', 'Scrap Stock Wizard' -
stock_request_idMany2one → stock.requestrequired=True args: 'stock.request'
No public methods.
New fields (3)
-
company_idMany2one → res.companydefault=<expr>required=True args: 'res.company', 'Company' -
scrap_location_idMany2one → stock.locationcompute='_compute_scrap_location_id'domain="[('scrap_location', '=', True)]"precompute=Truereadonly=Falserequired=Truestore=True args: 'stock.location', 'Scrap Location' -
scrap_stock_entriesOne2many → scrap.stock.entry.wizarddefault=_default_scrap_stock_entries args: 'scrap.stock.entry.wizard', 'scrap_stock_id', 'Scrap stock entries'
-
action_scrap(self) -
scrap(self, product_id, scrap_qty, scrap_id)
New fields (1)
-
fsm_order_idMany2one → fsm.orderondelete='cascade'string='Field Service Order' args: 'fsm.order'
No public methods.