Releases: 7357-2022/hw2k_grocy_ynh
Releases · 7357-2022/hw2k_grocy_ynh
3.3.2
Stock
- Improved that when editing a unit conversion, the "Quantity unit from" and "Quantity unit to" of the corresponding inverse conversion is now also updated accordingly if changed (until now only the factor was updated automatically)
- Changed that the "Move on open" product option can now always be used/set, even when the "Default location" and "Default conume location" are the same
- Fixed that stock entry notes were lost when consuming/opening/transferring a partial amount of the corresponding stock entry
- Fixed that the average shelf life of a product (on the productcard) was wrong when the corresponding stock entry was edited
- Fixed that when the stock setting "Decimal places allowed for amounts" was set to
0, unit conversion (if any) failed when adding the corresponding product to stock - Fixed that consuming a parent product which is not in stock itself (so essentially using any of the child products) may failed when unit conversions were involved (the current stock amount check was wrong in that case)
- Fixed that the status button counters on the stock overview page ("X products are overdue" and so on) included products which have the option
Never show on stock overviewenabled - Fixed that adding Userfields to existing stock entries was not possible (only editing existing Userfield values, e.g. added during purchase or inventory, was possible)
- Fixed that it was not possible to change a products stock QU, when the needed unit conversion (old QU => new QU) was only defined globally (means on QU level) or by the products "Factor purchase to stock quantity unit"
- Fixed that when changing a products stock QU, the products "Quick consume mount", "Energy (kcal)" and "Tare weight" wasn't updated according to the corresponding unit conversion factor
- Fixed that when changing a products stock QU, the product barcode amounts were also changed based on the corresponding unit conversion factor
Shopping list
- Fixed that products could not be added to the shopping list via barcode scanning
Recipes
- Fixed that headlines in the recipe description (preparation text) were removed on saving
- Fixed that the default consume rule was not always applied correctly when a recipe consumed a substituted ingredient (so when having a parent product in the recipe which is currently not in stock itself)
Userfields
- Fixed that edit forms were broken when editing an object with
null Userfields (so when the field for that object was not set before / on the initial object creation)
General
- It's now possible to edit a user without necessarily updating the users password
- Fixed that column reordering didn't work on the stock overview, stock entries and shopping list page when showing column which are not shown by default
- Fixed that when running label printer WebHooks client side (so when
LABEL_PRINTER_RUN_SERVER=false), the settingLABEL_PRINTER_HOOK_JSONwas ignored (the WebHook data was always sent as form data) - Fixed that granular user permissions (like "Shopping list / Add items" or "Equipment") didn't allow to add/edit the corresponding items without also having the "Edit master data" permission
- New translations: (thanks all the translators)
- Lithuanian (demo available at https://lt.demo.grocy.info/)
- Ukrainian (demo available at https://uk.demo.grocy.info/)
API
- Endpoint
/stock/volatile- The field/property
missing_productsnow also contains theproductobject
- The field/property
- Endpoint
/recipes/{recipeId}/consume: Fixed (again) that consuming partially fulfilled recipes was possible, although an error was already returned in that case (and potentially some of the in stock ingredients were consumed in fact)
3.3.1
Stock
- New product option "Move on open" (defaults to disabled)
- When enabled, on marking the product as opened, the corresponding amount will be moved to the products default consume location
- The stock setting "Decimal places allowed for prices" has been split into separate settings for input and displaying prices (the existing setting will be set for both new options on migration, so no changed behavior when not configured)
- Optimized that when the plural form(s) of a quantity unit is/are not provided, the singular form is used to display plural amounts
- Fixed that "Automatically add products that are below their defined min. stock amount to the shopping list" (stock setting) was only done when consuming products, not when opening them
- Fixed that the price history chart (product card) showed the price on a wrong date when having multiple purchases on the same date from different stores
Recipes
- Fixed that when a substituted product is used to display costs and calories (so when a parent product ingredient is currently not in stock itself), no unit conversions were considered for costs/calories calculation
- Fixed that the displayed "already on the shopping list"-amount (for missing ingredients) was wrong when the products "Factor purchase to stock quantity unit" wasn't 1
Chores
- Fixed that rescheduling of "Track date only"-chores for today was not possible
Calendar
- Fixed that clicking on meal plan product and notes calendar entries redirected to an invalid page
General
- LDAP authentication: Optimized that it's not required that LDAP accounts need to have a first-/lastname
API
- Endpoint
/stock/products/{productId}: New field/propertydefault_consume_location(contains the products default consume location object) - Endpoint
/stock/products/{productId}/add: Fixed that the request body parametertransaction_typewas ignored / always set topurchase - Fixed that the endpoint
/stock/products/by-barcode/{barcode}/opendidn't handle stock entries provided by a grocycode - Fixed that less or equal (
<=) and greater or equal (>=) filter comparisons didn't work (optionalquery[]request query parameter on most endpoints)