inventree / InvenTree

Open Source Inventory Management System
https://docs.inventree.org
MIT License
4.34k stars 786 forks source link

Sales order improvements #8445

Closed SchrodingersGat closed 2 weeks ago

SchrodingersGat commented 2 weeks ago

This PR provides some general UI improvements for managing sales orders.

Additionally, it allows stock items to be allocated against a sales order, but without specifying a shipment. This is a useful addition as it allows users to allocate stock items against the sales order first, and decide on shipping details later on.

netlify[bot] commented 2 weeks ago

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

Name Link
Latest commit ed4e593a20a7f8dd0949466b9a816b5d44559cab
Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/672df890632fcc0008c3c9f7
Deploy Preview https://deploy-preview-8445--inventree-web-pui-preview.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 86 (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 site configuration.

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 75.51020% with 24 lines in your changes missing coverage. Please review.

Project coverage is 83.31%. Comparing base (8f24119) to head (ed4e593). Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
...end/src/tables/sales/SalesOrderAllocationTable.tsx 31.57% 10 Missing and 3 partials :warning:
src/backend/InvenTree/order/api.py 57.14% 3 Missing :warning:
src/backend/InvenTree/order/serializers.py 83.33% 2 Missing :warning:
src/backend/InvenTree/stock/api.py 92.30% 2 Missing :warning:
...ntend/src/tables/sales/SalesOrderLineItemTable.tsx 71.42% 1 Missing and 1 partial :warning:
src/backend/InvenTree/order/models.py 91.66% 1 Missing :warning:
src/frontend/src/tables/bom/BomTable.tsx 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8445 +/- ## ========================================== - Coverage 84.52% 83.31% -1.21% ========================================== Files 1170 1171 +1 Lines 53468 54338 +870 Branches 2005 2011 +6 ========================================== + Hits 45192 45271 +79 - Misses 7751 8536 +785 - Partials 525 531 +6 ``` | [Flag](https://app.codecov.io/gh/inventree/InvenTree/pull/8445/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inventree) | Coverage Δ | | |---|---|---| | [backend](https://app.codecov.io/gh/inventree/InvenTree/pull/8445/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inventree) | `85.86% <87.30%> (-0.05%)` | :arrow_down: | | [pui](https://app.codecov.io/gh/inventree/InvenTree/pull/8445/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inventree) | `68.57% <54.28%> (-0.22%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inventree#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.