Skip to content

Refactor part pricing updates - #12787

Merged
SchrodingersGat merged 2 commits into
inventree:masterfrom
SchrodingersGat:pricing-bug-fix
Sep 5, 2026
Merged

SchrodingersGat merged 2 commits into
inventree:masterfrom
SchrodingersGat:pricing-bug-fix

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member
  • Handles cases where underlying part has been deleted
  • Reported on sentry

- Handles cases where underlying part has been deleted
@SchrodingersGat SchrodingersGat added this to the 1.6.0 milestone Sep 5, 2026
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed pricing Pricing functionality backport Apply this label to a PR to enable auto-backport action backport-to-1.5.x labels Sep 5, 2026
@netlify

netlify Bot commented Sep 5, 2026 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 377badf
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6a9b665ffc71230008377652

@codecov

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.52239% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.14%. Comparing base (b51f710) to head (377badf).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #12787   +/-   ##
=======================================
  Coverage   87.13%   87.14%           
=======================================
  Files        1483     1483           
  Lines      100534   100585   +51     
  Branches    11524    11524           
=======================================
+ Hits        87604    87657   +53     
+ Misses      12868    12866    -2     
  Partials       62       62           
Flag Coverage Δ
backend 91.17% <95.52%> (+0.01%) ⬆️

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

Components Coverage Δ
Backend Apps 92.44% <95.52%> (+0.01%) ⬆️
Backend General 94.68% <ø> (ø)
Frontend 79.77% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit fa44925 into inventree:master Sep 5, 2026
42 checks passed
@SchrodingersGat
SchrodingersGat deleted the pricing-bug-fix branch September 5, 2026 01:57
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.5.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

SchrodingersGat added a commit that referenced this pull request Sep 5, 2026
* Refactor part pricing updates

- Handles cases where underlying part has been deleted

* Add regression tests

(cherry picked from commit fa44925)

Co-authored-by: Oliver <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Apply this label to a PR to enable auto-backport action backport-to-1.5.x bug Identifies a bug which needs to be addressed pricing Pricing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant