Repository
OCA/repair · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.03 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/repair
Last tracking update
2026-08-07 08:09:30
Authors
ACSONE SA/NV, Odoo Community Association (OCA)
Maintainers
ACSONE SA/NV, Odoo Community Association (OCA)
Committers
Weblate, oca-ci, Souheil Bejaoui
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds a Warehouse field on Repair Orders to simplify
repair location selection in multi-warehouse environments.

When a repair location is chosen, the warehouse is automatically
determined and used to filter available locations. This makes
location selection clearer and avoids cross-warehouse mistakes.

A consistency rule ensures that the selected warehouse and
repair location always belong to the same warehouse.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
repair_order_form_view repair.order form Inherits repair.view_repair_order_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (2)
  • location_id Many2one
    domain="[('warehouse_id', '=', warehouse_id)]"
  • warehouse_id Many2one → stock.warehouse
    compute='_compute_warehouse_id' help='Warehouse inferred from the repair location. You can override it manually, but it must remain consistent with the selected location.' readonly=True states={'draft': [('readonly', False)]} store=True args: 'stock.warehouse'
Public methods (0)

No public methods.