Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add RMA support #4488

Merged
merged 115 commits into from
Mar 28, 2023
Merged

Conversation

SchrodingersGat
Copy link
Member

@SchrodingersGat SchrodingersGat commented Mar 14, 2023

This PR adds support for "RMA" or "Return Order" functionality.

Initial implementation may be somewhat "bare bones" and need fleshing out in greater detail in subsequent PRs.

TODO

- Required for PurchaseOrder and SalesOrder
- May not be required for ReturnOrder (remains to be seen)
- Add list endpoint
- Add detail endpoint
- Adds required serializer models
@SchrodingersGat SchrodingersGat added enhancement This is an suggested enhancement or new feature order Related to purchase orders / sales orders report Report/Label generation api Relates to the API labels Mar 14, 2023
@SchrodingersGat SchrodingersGat added this to the 0.11.0 milestone Mar 14, 2023
- Display a table
- Create / edit / delete
- Javascript files was becoming extremely large
- Hard to debug and find code
- Split into purchase_order / return_order / sales_order
- Similar to existing roles for purchase_order and sales_order
- Use <int:pk> instead of complex regex
- Always difficult to track down where these are rendered
- Enough to warrant their own file now
- Add new ReturnOrder modeles
- Add new 'contact' field to external orders
- Implement check to ensure that the selected "contact" matches the selected "company"
@matmair
Copy link
Member

matmair commented Mar 14, 2023

Very intresting PR!

@SchrodingersGat SchrodingersGat merged commit 27aa16d into inventree:master Mar 28, 2023
@SchrodingersGat SchrodingersGat deleted the rma-order branch March 28, 2023 23:35
@matmair
Copy link
Member

matmair commented Mar 29, 2023

Nice!

@SchrodingersGat
Copy link
Member Author

@matmair already used it in anger. Seems to work well, I'm sure there'll be additional things to add.

I'll put up a blog post soon

This was referenced Mar 29, 2023
@mabroens
Copy link

Hi All, the RMA feature sounds great. any idea when it will be released?

Br Martijn

@matmair
Copy link
Member

matmair commented Apr 14, 2023

We do not give out release dates as the project is developed in spare time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Relates to the API enhancement This is an suggested enhancement or new feature order Related to purchase orders / sales orders report Report/Label generation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR] RMA/ Repair Order function
3 participants