| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/field-service |
| GIT | |
| GIT | https://github.com/OCA/field-service.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/field-service/tree/17.0/fieldservice_stock_scrap |
| VERSION | |
| VERSION | 1.2.0 |
| CATEGORY | |
| CATEGORY | Field Service |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), APSL-Nagarro, Antoni Marroig |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), APSL-Nagarro, Antoni Marroig |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, Antoni Marroig Campomar |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/field-service |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:00 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/field-service: - fieldservice_stock_request - fieldservice_stock - fieldservice - base_territory OCA/stock-logistics-request: - stock_request_direction - stock_request - stock_request_picking_type - stock_request_submit odoo/odoo: - base - base_geolocalize - base_setup - web - resource - contacts - bus - web_tour - stock - product - uom - barcodes_gs1_nomenclature - barcodes - digest - portal - web_editor - http_routing - auth_signup |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | Scrap stock from Field Service orders of Stock Requests with inbound direction |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
fsm_order_form |
fsm.order.form | fsm.order | xpath | 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 | xpath | Inherits stock.stock_scrap_form_view |
stock_scrap_tree |
stock.scrap.tree | stock.scrap | xpath | Inherits stock.stock_scrap_tree_view |
scrap_count
Integer
compute='_compute_scrap_ids'
string='Scrap Orders'
scrap_ids
One2many → stock.scrap
string='Scrap Operations'
args: 'stock.scrap', 'fsm_order_id'
action_scrap_stock(self)
action_view_scraps(self)
location_id
Many2one → stock.location
domain="[('usage','=','internal')]"
required=True
args: 'stock.location', 'Internal Location'
product_id
Many2one → product.product
domain="[('type', 'in', ['product', 'consu'])]"
required=True
args: 'product.product'
quantity
Float
default=1
digits='Product Unit of Measure'
required=True
scrap_qty
Float
default=0
digits='Product Unit of Measure'
required=True
args: 'Scrap Quantity'
scrap_stock_id
Many2one → scrap.stock.wizard
stock_request_id
Many2one → stock.request
required=True
args: 'stock.request'
No public methods.
company_id
Many2one → res.company
default=<expr>
required=True
args: 'res.company', 'Company'
scrap_location_id
Many2one → stock.location
compute='_compute_scrap_location_id'
domain="[('scrap_location', '=', True)]"
precompute=True
readonly=False
required=True
store=True
args: 'stock.location', 'Scrap Location'
scrap_stock_entries
One2many → scrap.stock.entry.wizard
default=_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)
fsm_order_id
Many2one → fsm.order
ondelete='cascade'
string='Field Service Order'
args: 'fsm.order'
No public methods.