OdooWiki OCA HUB

Field Service - Stock Account

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

If inventory items were delivered to a customer location, the delivery will generate an accounting entry in the stock output account. The balance of that account will keep increasing as those inventory items will not get invoiced.

This module allows you to automatically adds inventory items delivered as part of the field service order to a customer invoice to account for their value as a cost of goods (or service) sold.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Adds the inventory items delivered during a Field Service order to the customer invoice, so their value is billed as cost of goods sold. It works when the order's inventory location is a customer location.

When a Field Service order delivers stock items to a customer location, this module makes sure those items are included on the customer invoice instead of only being posted to the stock output account.

  • On the Field Service order (fsm.order), when you create the invoice, one invoice line is added for each stock request linked to the order. Each line uses the delivered quantity, the product name and the product's income account, with a unit price of zero.
  • These stock lines are marked to be hidden on the printed invoice report, so the customer sees the normal service lines while the stock value is still accounted for.
  • If the order is set not to be invoiced, the module can still create a customer invoice automatically when there are stock requests and the inventory location is a customer location. The invoice is created for the contact or for the location's customer, using the sale journal and the customer's fiscal position.
  • If the order is billed to the contact but no contact is set, a validation error is raised asking for the contact.

The module extends the Field Service order model and creates customer invoices and invoice lines. It relies on the Field Service account and stock request features being installed.

Required by other modules

Models and fields (1)
  • fsm.order · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 14.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: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 12.0

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

terminal Installation and usage

OCA documentation · Odoo 14.0

To use this module, you need to:

  • Go to Field Service
  • Create an order for a customer location (type of the inventory location must be 'Customer')
  • Add inventory items and process them. Their delivery will generate an accounting entry.
  • Complete the field service order
  • Add some contractor costs or timesheet entries depending on the worker (vendor or employee)
  • In the accounting tab, click on "Create invoice". The delivered inventory items will be added to the customer invoice with a 0$ price unit and they will not show up in the PDF report of the invoice.
  • Go to Invoicing > Customers > Invoices
  • Validate the invoice.
  • Check the accounting entry to make sure the value of the inventory items is accounted as a cost of goods/services sold.
  • Repeat the process but in the accounting tab, click on "No invoice"
  • Go to Invoicing > Customers > Invoices
  • Open the invoice related to the field service order
  • Check that the invoice has a 0$ total and is paid
  • Check the accounting entry to make sure the value of the inventory items is accounted as a cost of goods/services sold.

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.