heig / GrocyToBring

Copy missing items from grocy to bring
19 stars 3 forks source link

Added support to use Grocy´s purchase unit #1

Closed andreheuer closed 2 years ago

andreheuer commented 2 years ago

Hi @heig, I have created a PR to add support for the purchase unit maintained in Grocy. With these extensions, the use of the UNIT env variable is not required anymore. The missing amount is converted based on the purchase unit conversion ratio in the product details and the name of this respective unit is used. BR André