Skip to content

[UI] Suggested pricing - #10867

Merged
SchrodingersGat merged 16 commits into
inventree:masterfrom
SchrodingersGat:suggested-pricing
Nov 20, 2025
Merged

SchrodingersGat merged 16 commits into
inventree:masterfrom
SchrodingersGat:suggested-pricing

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member
  • Adds suggested pricing to purchase order forms, based on supplier price breaks
  • Refactors suggested pricing for sales order forms
  • Bug fixes / enhancements for sales order pricing
  • Updates to backend serializers and associated fixes

@SchrodingersGat SchrodingersGat added this to the 1.2.0 milestone Nov 19, 2025
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed order Related to purchase orders / sales orders api Relates to the API pricing Pricing functionality User Interface Related to the frontend / User Interface labels Nov 19, 2025
@netlify

netlify Bot commented Nov 19, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit c442438
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/691ef774f5797700083cb2e4
😎 Deploy Preview https://deploy-preview-10867--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 94 (no change from production)
Accessibility: 81 (no change from production)
Best Practices: 100 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Nov 19, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.04%. Comparing base (18c2a93) to head (c442438).
⚠️ Report is 227 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #10867   +/-   ##
=======================================
  Coverage   88.04%   88.04%           
=======================================
  Files        1281     1281           
  Lines       57603    57602    -1     
  Branches     1997     1997           
=======================================
+ Hits        50715    50716    +1     
+ Misses       6391     6389    -2     
  Partials      497      497           
Flag Coverage Δ
backend 89.66% <100.00%> (+<0.01%) ⬆️

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

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

@SchrodingersGat
SchrodingersGat merged commit a76ec0a into inventree:master Nov 20, 2025
@SchrodingersGat
SchrodingersGat deleted the suggested-pricing branch November 20, 2025 11:51
CapnKernel pushed a commit to CapnKernel/InvenTree that referenced this pull request Dec 14, 2025
* Refactor NumberField into separate component

* Add helper func to ensure a number is a number

* Use placeholder value for suggested sale price

* Fix for auto-fill

* Tweak price calculation

* Add UI testing for sales order price breaks

* Fix aria label name

* Annotate price breaks to supplier part

* Fetch price break data

* Support price breaks for purchase order pricing

* Fix required to prevent circular imports

* Add playwright tests for purchase order price breaks

* Bump API version

* Re-add output options for SupplierPriceBreakList

* Revert change

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

Labels

api Relates to the API bug Identifies a bug which needs to be addressed order Related to purchase orders / sales orders pricing Pricing functionality User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants