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

Scanning to Purchase should respect the factor for quantity unit purchase and quantity unit stock #13

Closed
bfayers opened this issue May 25, 2020 · 1 comment · Fixed by #14
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@bfayers
Copy link
Contributor

bfayers commented May 25, 2020

For example, I have a product setup with the Quantity Unit Purchase set to Pack and the Quantity Unit Stock set to Pieces with a factor of 4, however when I scan the barcode in the app to purchase it only adds 1 to stock instead of 4.

The consume behavior is as expected, only consuming one at a time (however, perhaps a custom field set to how much default consume should be per product would be useful for products like flour where scanning every time for every gram used would be inconvenient.)

@patzly
Copy link
Owner

patzly commented May 25, 2020

Right now we have to learn for our Abitur, so please be patient.

Thanks for the detailed description, we will work on that.
In the current version only one unit is used, ignoring the factor and other units (complicated to implement). See the master product edit screen: only stock unit can be edited now, but we will implement other fields in the next versions.

For flour I would recommend you to set the unit to pack, one pack is opened, then consumed and you open the next one. I think this is much easier to manage than grams, especially if one pack is always e.g. 1000g.

@patzly patzly added bug Something isn't working enhancement New feature or request labels May 25, 2020
@patzly patzly changed the title Scanning to Purchase should respect the product setings for Quantity Unit Purchase and Quantity Unit Stock factor. Scanning to Purchase should respect the factor for quantity unit purchase and quantity unit stock May 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
3 participants