OdooWiki OCA HUB

Repair Purchase Return

repair_purchase_return folder_open OCA/repair open_in_new
Repair License: LGPL-3

The purpose of this module is to add the possibility of create a purchase return order for some repair components products and operations directly from repair order.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Create purchase return orders directly from a repair order, sending back repair components and fees to the vendor. Repair orders and purchase returns are linked so you can jump between them.

This module connects repair orders with purchase returns, so you can send repair parts and fees back to a vendor without re-entering data.

On a repair order you get a new "Create Purchase Return" button in the header. It opens a small wizard where you choose the vendor (pre-filled from the product's vendor list when possible). You can either create the return and stay on the repair, or create it and open the new purchase return. The return is created in draft so you can review it before validation.

Only repair operations of type "add" (parts added to the repair) and all repair fees are copied into the return. Lines are created with a zero price and marked as refund only, then product-related fields are recalculated.

Both documents show each other: the repair order has a "Purchase Returns" counter button, and the purchase return has a "Repair Orders" counter button. A "Return Purchase Notes" field on the repair order is copied into the return's notes. The vendor's fiscal position and purchase currency are applied automatically.

Depends on

Models and fields (6)
  • repair.fee · extends an existing modelpurchase_return_line_ids
  • repair.line · extends an existing modelpurchase_return_line_ids
  • repair.order · extends an existing modelpurchase_return_ids, purchase_return_count (Return Purchase Count), purchase_return_notes (Return Purchase Notes)
  • purchase.return.order · extends an existing modelrepair_order_ids, repair_order_count (Repair Orders Count)
  • purchase.return.order.line · extends an existing modelrepair_fee_ids, repair_line_ids
  • repair.purchase.return.wiz · new modelvendor_id

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
  • Go to Repair > Repair Orders > New and create a new repair order. Add at least one line in Parts (with type Add and positive Quantity) and Operations (with positive Quantity).
  • Click Create Purchase Return button.
  • On the wizard, choose a valid vendor and click Create And View Purchase Return button.

In the Purchase Return Order, Unit Price of each product line would be the cost price of the product.

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.