Skip to content

Fix for STOCK_COUNT event - #12281

Merged
SchrodingersGat merged 3 commits into
inventree:masterfrom
SchrodingersGat:count-fix
Jun 30, 2026
Merged

Fix for STOCK_COUNT event#12281
SchrodingersGat merged 3 commits into
inventree:masterfrom
SchrodingersGat:count-fix

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member
  • Prevent double emission of event type string

- Prevent double emission of event type string
@SchrodingersGat SchrodingersGat added this to the 1.5.0 milestone Jun 30, 2026
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed plugin Plugin ecosystem labels Jun 30, 2026
@netlify

netlify Bot commented Jun 30, 2026

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 10d2b62
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6a43753c0c743d00080a097f

@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 86.67%. Comparing base (414aac0) to head (10d2b62).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12281      +/-   ##
==========================================
- Coverage   86.67%   86.67%   -0.01%     
==========================================
  Files        1390     1390              
  Lines       90398    90397       -1     
  Branches    10332    10246      -86     
==========================================
- Hits        78350    78349       -1     
  Misses      11985    11985              
  Partials       63       63              
Flag Coverage Δ
backend 90.65% <66.66%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 92.19% <66.66%> (-0.01%) ⬇️
Backend General 93.33% <ø> (ø)
Frontend 79.54% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit fb280d8 into inventree:master Jun 30, 2026
41 of 42 checks passed
@SchrodingersGat
SchrodingersGat deleted the count-fix branch June 30, 2026 08:54
martonmiklos pushed a commit to martonmiklos/InvenTree that referenced this pull request Jun 30, 2026
* Fix for STOCK_COUNT event

- Prevent double emission of event type string

* adjust unit test
martonmiklos pushed a commit to martonmiklos/InvenTree that referenced this pull request Jun 30, 2026
* Fix for STOCK_COUNT event

- Prevent double emission of event type string

* adjust unit test
mahekp05 pushed a commit to mahekp05/InvenTree that referenced this pull request Aug 4, 2026
* Fix for STOCK_COUNT event

- Prevent double emission of event type string

* adjust unit test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Identifies a bug which needs to be addressed plugin Plugin ecosystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant