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

List PO/SO/BO by reference in API #4083

Merged
merged 9 commits into from Dec 21, 2022

Conversation

miggland
Copy link
Contributor

@miggland miggland commented Dec 20, 2022

Fixes #3671:

Allows searching for a single PO/BO/SO in the API using a link such as:

https://demo.inventree.org/api/order/po/?reference=PO0006
https://demo.inventree.org/api/order/so/?reference=SO0001
https://demo.inventree.org/api/build/?reference=BO0001

Also adds a filter for customer to SO list:

https://demo.inventree.org/api/order/so/?customer=32

Copy link
Member

@matmair matmair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@SchrodingersGat SchrodingersGat added this to the 0.10.0 milestone Dec 20, 2022
@SchrodingersGat SchrodingersGat added enhancement This is an suggested enhancement or new feature order Related to purchase orders / sales orders api Relates to the API labels Dec 20, 2022
@SchrodingersGat
Copy link
Member

@miggland looks great :) Can you please increment the API version also

@miggland
Copy link
Contributor Author

Done!

@SchrodingersGat
Copy link
Member

SchrodingersGat commented Dec 21, 2022

@miggland some conflicts from #4088 - can you please address?

@SchrodingersGat
Copy link
Member

Thanks for the contribution @miggland

@SchrodingersGat SchrodingersGat merged commit d4341e8 into inventree:master Dec 21, 2022
@miggland miggland deleted the list-by-reference branch January 16, 2023 16:19
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR] List PO/SO/BO by reference in API
3 participants