TIP: You can type at any time to perform a new search.
Field Service Stock Scrap
fieldservice_stock_scrap · OCA/field-service
- Repository
- OCA/field-service · module folder · Try on Runboat
- Module version
- 1.2.0
- Category
- Field Service
- Folder size
- 0.08 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/field-service
- Last tracking update
- 2026-08-07 08:22:59
- Authors
- Odoo Community Association (OCA), Antoni Marroig, APSL-Nagarro
- Maintainers
- Odoo Community Association (OCA), Antoni Marroig, APSL-Nagarro
- Committers
- Weblate, OCA-git-bot, oca-ci, Antoni Marroig Campomar
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Scrap stock from Field Service orders of Stock Requests with inbound direction
Code Analysis ⓘ
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.