patzly / grocy-android

ERP beyond your fridge, now on your phone – An awesome companion app for grocy

Home Page:https://patrickzedler.com/grocy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mathematics in Quick Consume Input

carsonbird opened this issue · comments

Screenshot_20240730-105437_Grocy.png

Screenshot_20240730-111255_Grocy.png

I have a vitamin that contains 30 pieces, which is opened as one big pack but is consumed piece by piece. The quick consume feature uses the default stock unit, which is "pack" in this case. "Pack" makes sense, since they are opened as a pack and will expire together after a pack is opened.

So it would be nice to either be able to change the unit of the quick consume per-product, or to have simple math operations evaluated in this field. For example, I could quickly write "1/30" for the quick consume amount, instead of having to open a calculator to do that math.