If I enter the shopping list item with for example PurchaseQU the prices are incorrect. See for example Mayo is 0 Eur for 1l and 4.02 for 1000ml (the factor is correctly set to 1000).
I believe the following code in ShoppingListItemAdapter.java takes the amountInQuUnit and multiplies it with the price in stock Qu unit.
I guess an easy solution would be to use item.getAmountDouble() instead of amountInQuUnit.
If I enter the shopping list item with for example PurchaseQU the prices are incorrect. See for example Mayo is 0 Eur for 1l and 4.02 for 1000ml (the factor is correctly set to 1000).![image](https://github.com/patzly/grocy-android/assets/7229627/17996d1b-9e11-4e57-91e9-f0061cad758c)
I believe the following code in ShoppingListItemAdapter.java takes the![image](https://github.com/patzly/grocy-android/assets/7229627/5d9d9526-8419-4d7b-afa0-6dad4e3c2c63)
amountInQuUnit
and multiplies it with theprice in stock Qu unit
.I guess an easy solution would be to use
item.getAmountDouble()
instead of amountInQuUnit.