| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/repair |
| GIT | |
| GIT | https://github.com/OCA/repair.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/repair/tree/16.0/repair_warehouse |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | Weblate, oca-ci, Souheil Bejaoui |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/repair |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:12:01 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - repair - stock - product - base - base_setup - web - bus - web_tour - uom - barcodes_gs1_nomenclature - barcodes - digest - portal - web_editor - http_routing - auth_signup - resource - sale_management - sale - sales_team - account_payment - account - analytic - payment - utm |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| 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. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
repair_order_form_view |
repair.order | xpath | Inherits repair.view_repair_order_form |
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'
No public methods.