Skip to content

[Feature] Add RMA support - #4488

Merged
SchrodingersGat merged 115 commits into
inventree:masterfrom
SchrodingersGat:rma-order
Mar 28, 2023
Merged

SchrodingersGat merged 115 commits into
inventree:masterfrom
SchrodingersGat:rma-order

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Mar 14, 2023 •

Copy link
Copy Markdown
Member

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

matmair commented Mar 14, 2023

Copy link
Copy Markdown
Member

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

matmair commented Mar 29, 2023

Copy link
Copy Markdown
Member

Nice!

@SchrodingersGat

Copy link
Copy Markdown
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
Copy Markdown

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

Br Martijn

@matmair

matmair commented Apr 14, 2023

Copy link
Copy Markdown
Member

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