-
-
Notifications
You must be signed in to change notification settings - Fork 792
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
Set status when returning from customer #8571
Set status when returning from customer #8571
Conversation
✅ Deploy Preview for inventree-web-pui-preview canceled.
|
status = serializers.ChoiceField( | ||
choices=stock.status_codes.StockStatus.items(), | ||
default=None, | ||
label=_('Status'), | ||
help_text=_('Stock item status code'), | ||
required=False, | ||
allow_blank=True, | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This setup will not support custom statuses
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed - I'll loop back to this as part of a general solution to #7990
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8571 +/- ##
==========================================
- Coverage 84.70% 84.62% -0.09%
==========================================
Files 1183 1183
Lines 54000 54025 +25
Branches 2032 2034 +2
==========================================
- Hits 45743 45719 -24
- Misses 7735 7793 +58
+ Partials 522 513 -9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Allow adjusting stock item status when manually returning from a customer