Skip to content

Transfer stock Fearure#292

Open
evotodi wants to merge 4 commits intoForceu:masterfrom
evotodi:transferStock
Open

Transfer stock Fearure#292
evotodi wants to merge 4 commits intoForceu:masterfrom
evotodi:transferStock

Conversation

@evotodi
Copy link

@evotodi evotodi commented Feb 16, 2026

This PR adds a couple new features, primarily the ability to transfer stock.

The transfer stock feature adds a new barcode (BBUDDY-TXFT-), and mode (Set Transfer Dest), which allow transferring stock from the products default location to the desired location set by Set Transfer Dest. When in transfer mode (for example scanning barcode BBUDDY-TXFR-2) any product scanned will be transferred to the destination. Validation happens before the transfer to prevent trying to transfer to the same destination.

Because getting the location ids is not trivial the second feature add 3 buttons to the settings page.

  • The Show Action Barcodes button opens a new page with generated barcode images for each of the actions
  • The Show Transfer Barcodes button opens a new page with generated barcode images for each of the transfer destination locations.
  • The Show Quantity Barcodes button prompts the user for start quantity (default 1) and end quantity (default 10) then opens a new page with generated barcode images for each quantity from start to end.

The barcodes page is blank so it can easily be printed and each barcode is an image so they can be easily downloaded by clicking the image.

This PR also contains some minor code formatting tweaks.

I find the transfer feature useful as we have a storage room where all of our bulk goods live. We transfer from the storage room to the pantry for use. Same with deep freezers to kitchen freezer.

…barcode handling and logging integration

Signed-off-by: evotodi <evotodi@gmail.com>
Signed-off-by: evotodi <evotodi@gmail.com>
Signed-off-by: evotodi <evotodi@gmail.com>
Signed-off-by: evotodi <evotodi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant