OdooWiki OCA HUB

Repair Follow Lot Location

repair_follow_lot_location folder_open OCA/repair open_in_new
Uncategorised License: AGPL-3

In base module, the repair order current location is chosen manually by the user to represent where the item to repair physically sits. When the product moves between internal locations during the process, the field can become outdated.

This addon keeps the repair order location aligned with the actual internal location of the linked lot/serial.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds a 'Follow Lot Location' option on repair orders so the repair's current location is automatically updated to the internal location where the linked lot or serial number was last moved.

When you repair a product tracked by lot or serial number, Odoo normally asks you to pick the repair's current location by hand. If the item is moved to another internal location during the process, that field can become wrong.

This module adds a checkbox called 'Follow Lot Location' on the repair order form, right after the lot/serial field. It is only visible when a lot or serial is set and for users allowed to manage lots and serial numbers.

When the checkbox is ticked, every time a stock move is completed, Odoo looks for open repair orders linked to the same lot or serial. It then updates each repair order's current location to the destination location of the move. Repair orders that are already done or cancelled are left untouched.

  • The option is off by default, so nothing changes unless you enable it.
  • It works on repair.order and reacts to completed stock.move records.
  • It only updates the location; no other repair fields are changed.
  • It relies on the lot or serial being present on the repair order and on the move.

Depends on

repair

Required by other modules

Models and fields (2)
  • stock.move · extends an existing model
  • repair.order · extends an existing modelfollow_lot_location

Text generated by AI (DeepSeek) from reading the Odoo 16.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.

terminal Installation and usage

OCA documentation · Odoo 16.0
  • Create a Repair Order and set the Lot/Serial
  • Check the box Follow Lot Location
  • As warehouse operations progress, do stock moves as usual
  • When the relevant moves are Done, the repair’s current location updates automatically

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.