OdooWiki OCA HUB

Field Service Stock Scrap

fieldservice_stock_scrap folder_open OCA/field-service open_in_new
Field Service License: AGPL-3

Scrap stock from Field Service orders of Stock Requests with inbound direction

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

Lets field service users scrap stock that was requested for a field service order, directly from the order form, and keeps the related stock requests in sync.

This module adds a Scrap button to the Field Service order form. The button is visible when the order has stock requests and is not closed. Clicking it opens a wizard where you can enter the quantity to scrap for each inbound stock request line.

In the wizard you see the product, the original requested quantity and an editable scrap quantity. The scrap location is filled automatically from the company's scrap location. When you confirm, the system creates a stock transfer from the supplier location to an intermediate location, then creates a scrap record and validates it. The scrap record is linked to the field service order.

After scrapping, the related stock request quantities are reduced by the scrapped amount; if a request is fully scrapped it is deleted. Any inbound stock request that was not included in the wizard is also scrapped and removed. Empty stock request orders linked to the order are deleted as well.

On the field service order you get a Scraps stat button showing how many scrap operations exist, and it opens the list of those scraps. The scrap form and list also show the related field service order. A validation prevents entering a scrap quantity larger than the original requested quantity.

Models and fields (4)
  • fsm.order · extends an existing modelscrap_ids (Scrap Operations), scrap_count (Scrap Orders)
  • stock.scrap · extends an existing modelfsm_order_id (Field Service Order)
  • scrap.stock.wizard · new modelcompany_id, scrap_location_id, scrap_stock_entries
  • scrap.stock.entry.wizard · new modelquantity, scrap_qty (Scrap Quantity), product_id, location_id, scrap_stock_id, stock_request_id

Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/field-service.

terminal Installation and usage

OCA documentation · Odoo 17.0

To use this module, you need to:

Create a Field Service order:

  • Go to Field Service > Dashboard > Orders .
  • Create new Field Service order.
  • In Inventory tab create Stock requests(only inbound considered for this module)
  • Click on Scrap and scrap quantities for every stock request

You can access from Field Service order to scraps directly with a smart button and the same backwards.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.