barcodebuddy
barcodebuddy copied to clipboard
New Barcode Quantity Bug
Running the latest version of everything.
When adding a new barcode to an existing product, the quantity is not written to the barcode in Grocy - just blank everything.
The desired outcome would be writing the initial quantity to the barcode quantity in Grocy when first linking a new barcode.
Additionally...
Once a quantity is eventually synced the number is the only thing that Barcode Buddy sees.
For example - I have a barcode that is set to "1 Package" which is configured in Grocy as multiple pieces. However Barcode Buddy only sees "1" and increases the quantity by 1 Piece, not 1 Package (which in this case equals 4 pieces)
Thanks for the issue and please excuse the late reply! Do you have the option "Use Grocys quantity conversion" in the menu Settings enabled?
I do have the same issue. The amount added to the shopping list is the same with the option enabled or disabled. The only difference is that either a new line in the "Saved Quantities" is added or not.
Maybe related to #123
I think I found the issue.
See #178
Issue is solved from my end.
Apologies for resurrecting this topic. I'm trying to understand the solution above since Grocy only implements adding via stock units. Is the expectation that you only use the stock quantity when providing amounts to a barcode? This would effectively remove the function of creating qu conversions so I feel is not the correct situation.
I have tried scanning both with "use grocy quantity conversion" on and off and do not see a change in function.
When completing the same action using the grocy android app all functions as intended and the correct unit and conversion is added.
Alternatively, is this a byproduct of 3fed0d14ec86a20ea3c49bfbefb1f5b1b5348e65?
Hi, thanks for the feedback. This behaviour is regarding a Grocy API change, which removed the quantity from the oveview of all products. That means additional API requests are required and a rewrite of code. Once I have time, I might send in a PR for the grocy project to make it easier for BarcodeBuddy. Unfortunately I don't have a lot of time at the moment, so I cannot give an ETA yet