Repairs - Odoo 20 Community Book

Confirm and End a Repair

The life of a repair order has three steps.

New. The order is a draft. You can change everything. The stock is not touched.

Confirmed. You clicked Confirm Repair. Odoo reserves the parts in the stock and the customer can be quoted. The buttons become End Repair, Quote and Cancel. A Reserve button shows when a part is not yet reserved.

Done. You clicked End Repair. Odoo uses the parts and closes the order.

We ended WH/RO/00003, a repair of the Large Cabinet that needed one Cabinet Hinge. The form is now read only and the status is Done. Two smart buttons show at the top.

odoo Development

Product Moves (1). Opens the stock moves of the order.

Sale Order (2). The quotation of the order, S00179 (section 7).

The status bar (3). The status is now Done.

The tabs (4). Parts, Services and Repair Notes stay visible. The part line shows Demand 1.00 and Quantity 1.00.

Here are the stock moves of the order.

odoo Development

The list is named Inventory Moves. It has two lines, both Done. The Large Cabinet goes from WH/Stock to WH/Stock, which means that the product left the stock for the repair and came back, 1.00 Units. The Cabinet Hinge goes from WH/Stock to Production, in red, 1.00 Units, which means that the part is used up. The columns are Date, Reference, Product, Lot/Serial Number, From, To, Quantity, Unit and Status.

The button Cancel is on a draft or confirmed order. The button Set to Draft puts a cancelled order back to New.

The Consumption Warning

If you click End Repair when the quantity used is not the quantity needed, Odoo opens a warning window. We clicked End Repair on WH/RO/00005, the order that needs 500 Cabinet Hinges when only 39 are reserved.

odoo Development

The window is named Consumption Warning. The text says: you consumed a different quantity than expected for the following products. The table lists the product, the Unit, To Consume (500.00) and Consumed (39.00). There are three buttons. Confirm accepts the quantities as they are and ends the repair. Set Quantities & Validate changes each line to the quantity that was needed, 500.00 here, and then ends the repair. Discard closes the window and does nothing. We clicked Discard, so the order stays Confirmed.

WhatsApp