Repair Warehouse Required

repair_warehouse
REPOSITORY
REPOSITORYOCA/repair
GIT
GIThttps://github.com/OCA/repair.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/repair/tree/16.0/repair_warehouse
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, oca-ci, Souheil Bejaoui
WEBSITE
WEBSITEhttps://github.com/OCA/repair
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - repair
    - stock
    - product
    - base
    - mail
    - 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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
repair_order_form_view repair.order xpath Inherits repair.view_repair_order_form
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.