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

Prevent check for low stock when creating new items #6055

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

@SchrodingersGat SchrodingersGat added the part Related to Part models label Dec 8, 2023
@SchrodingersGat SchrodingersGat added this to the 0.13.0 milestone Dec 8, 2023
Copy link

netlify bot commented Dec 8, 2023

Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 33ff70d
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/65726109985f8300080cf947

@SchrodingersGat SchrodingersGat merged commit 63a0d4d into inventree:master Dec 8, 2023
26 of 27 checks passed
@SchrodingersGat SchrodingersGat deleted the check-low-stock branch December 8, 2023 01:12
@martonmiklos
Copy link
Contributor

I think it would be useful to add check for the "dirtyness" of the quantity field and the negative quantity change too. I have not tried it out, but as I described in the #6013 during the creation of the stock items the save got called twice (one create, one update). I can check it on Monday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part Related to Part models
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants