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

Sales Order Barcode Allocate #8984

Merged

Conversation

fuzeman
Copy link
Contributor

@fuzeman fuzeman commented Jan 29, 2025

I discovered that when allocating items to a sales order by scanning stock item barcodes, once you complete the first shipment and move to another shipment, no stock items can be allocated to the new shipment.

As can be seen in the commit, previously with the delivery_date filter completed shipments would need a delivery date added before items could be allocated to a new shipment. Changing this to shipment_date enables multiple shipments to be allocated and shipped together easily.


Looking at the app, there probably should be a way to allocate into specific shipments. I might be able to take a look when I have some time, happen to use Dart + Flutter myself in a couple of production apps.

Copy link

netlify bot commented Jan 29, 2025

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

Name Link
🔨 Latest commit 8bfd669
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/679a09209077da0008f387ca
😎 Deploy Preview https://deploy-preview-8984--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: 99 (🔴 down 1 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.

@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed barcode Barcode scanning and integration backport Apply this label to a PR to enable auto-backport action backport-to-0.17.x Backport these changes to the 0.17.x branch labels Jan 29, 2025
@SchrodingersGat SchrodingersGat added this to the 1.0.0 milestone Jan 29, 2025
@SchrodingersGat
Copy link
Member

@fuzeman nice catch, this seems like a sensible fix.

Regarding the app - adding multiple shipment support is a great idea! If you are able to investigate that it would be fantastic. I'd be happy to help you get to know your way around the codebase

Copy link

codecov bot commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.50%. Comparing base (4b56492) to head (8bfd669).
Report is 15 commits behind head on stable.

Additional details and impacted files
@@            Coverage Diff             @@
##           stable    #8984      +/-   ##
==========================================
- Coverage   84.61%   84.50%   -0.11%     
==========================================
  Files        1201     1201              
  Lines       54684    54848     +164     
  Branches     2087     2088       +1     
==========================================
+ Hits        46270    46350      +80     
- Misses       7895     7978      +83     
- Partials      519      520       +1     
Flag Coverage Δ
backend 86.10% <ø> (-0.03%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SchrodingersGat SchrodingersGat merged commit ede30ce into inventree:stable Jan 29, 2025
29 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 29, 2025
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
0.17.x

Questions ?

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

@fuzeman
Copy link
Contributor Author

fuzeman commented Jan 29, 2025

Regarding the app - adding multiple shipment support is a great idea! If you are able to investigate that it would be fantastic. I'd be happy to help you get to know your way around the codebase

I've had a brief look at the codebase trying to track down this issue, and all appears to be fairly easy to follow. I'll let you know if I have any questions.

What are you thinking long-term with the app? I'm more familiar with Flutter, but switching to react-native could be a consideration to enable the sharing of code with the new react interface.

@SchrodingersGat
Copy link
Member

What are you thinking long-term with the app? I'm more familiar with Flutter, but switching to react-native could be a consideration to enable the sharing of code with the new react interface.

There are no plans to change to react native, although I have considered it (for code sharing purposes obviously).

It would be a good move from that perspective but a LOT of work without any support or potential payoff.

And we would need to ensure that all the current flutter libraries (which are already pretty fragile) have react native equivalents that work cross platform.

Mobile dev sucks

@fuzeman
Copy link
Contributor Author

fuzeman commented Jan 29, 2025

Yeah, good points. It sounds natural on the surface to merge/share code between the two, but I'm sure there will be a lot of pain along the way to achieve that.

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-0.17.x Backport these changes to the 0.17.x branch barcode Barcode scanning and integration bug Identifies a bug which needs to be addressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants