Skip to content

[18.0][ADD] fieldservice_equipment_location_history: equipment transfers between stock locations - #1597

Open
marcos-mendez wants to merge 1 commit into
OCA:18.0from
marcos-mendez:18.0-add-fieldservice_equipment_location_history
Open

[18.0][ADD] fieldservice_equipment_location_history: equipment transfers between stock locations#1597
marcos-mendez wants to merge 1 commit into
OCA:18.0from
marcos-mendez:18.0-add-fieldservice_equipment_location_history

Conversation

@marcos-mendez

Copy link
Copy Markdown
Contributor

New module: track and execute transfers of field service equipments between stock locations.

  • Each transfer creates and validates a real internal picking moving the equipment's serial, so quants and traceability stay consistent
  • Updates the equipment's FSM location when the target stock location is linked to one (by inventory_location_id, falling back to name match)
  • Transfer Stock button (pre-filled from the current stock location) + Location History tab on the equipment form
  • Guards: explicit errors for equipments without product/serial and for databases without an internal operation type (Storage Locations disabled)

Modernized from a module running in production since 2022 on a clinical-engineering vertical (~20k equipments) — the legacy version used immediate_transfer/qty_done, both gone in Odoo 17+; this is a from-scratch rewrite of the transfer logic on the current stock API, running in production on Odoo 18.

4 tests, 95%+ coverage on models.

@OCA-git-bot OCA-git-bot added series:18.0 mod:fieldservice_equipment_location_history Module fieldservice_equipment_location_history labels Aug 6, 2026
…tween stock locations

Each transfer record creates and validates a real internal picking moving
the equipment's serial number, keeping quants and traceability consistent,
and re-points the equipment's FSM location when the target stock location
maps to one. Includes a Transfer Stock button and a Location History tab
on the equipment form.
@marcos-mendez
marcos-mendez force-pushed the 18.0-add-fieldservice_equipment_location_history branch from 942634b to 05ba04c Compare August 6, 2026 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:fieldservice_equipment_location_history Module fieldservice_equipment_location_history series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants