[WIP] Add repair order support to ReturnOrder model (Phase 1: Backend)#12098
[WIP] Add repair order support to ReturnOrder model (Phase 1: Backend)#12098sanrishi wants to merge 1 commit into
Conversation
Extends the existing ReturnOrder with repair-specific capabilities: - Added technician (FK→User) and is_repair (Boolean) fields - Added symptom and repair_description fields to line items - Added AWAITING_PARTS and READY_FOR_PICKUP statuses - Added await-parts and mark-ready API endpoints Ref: inventree#12064
✅ Deploy Preview for inventree-web-pui-preview canceled.
|
|
@SchrodingersGat Let me know what i need to address more? |
|
@matmair Thanks for clarification! but i am interested to work on this! can i work on this? will solve the issue efficiently! |
|
@matmair Could you assign me later if aditya not able to complete? i think his pr is staled with unusual changes? |
|
@sanrishi the target requirements are not even clear right now. I don’t know how you or anyone else thinks you will address requirements that have not been fully agreed upon |
|
@sanrishi you are flirting with a org-wide block with this behaviour |
|
@matmair sorry for that behaviour, but I have a robust implementation approach ready to tackle this, could you assign it to me? |
|
no - see above; |
There was a problem hiding this comment.
This is not a full implementation; this does not pass QC checks due to a missing api_version bump amongst other basic things mentioned in the contribution guidelines
There was a problem hiding this comment.
@matmair thanks for the review and genuinely sorry for my previous behaviour, I am not going to ask you for assignment, I will complete this pr as you requested changes and then you can decide if I am eligible
Thanks 🙏
Description
This PR adds repair order capabilities to the existing ReturnOrder model, enabling users to track repair work on customer-returned items.
This is Phase 1 — Backend models and API only. Frontend UI components will follow in a separate PR.
Closes #12064
Changes
New fields on \ReturnOrder\
New fields on \ReturnOrderLineItem\
epair_description\ (TextField) — description of work performed
New status codes
New model methods
New API endpoints
Status transition updates
Files Changed
Total: ~190 lines
Future Phases