mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
33 lines
3.5 KiB
Markdown
33 lines
3.5 KiB
Markdown
- Stock improvements
|
||
- Products can now have variations (nested products)
|
||
- Define the parent product for a product on the product edit page (only one level is possible, means a product which is used as a parent product in another product, cannot have a parent product itself)
|
||
- Parent and sub products can have stock (both are regular products, no difference from that side)
|
||
- On the stock overview page the aggregated amount is displayed next to the amount (sigma sign)
|
||
- When a recipe needs a parent product, the need is also fulfilled when enough sub product(s) are in stock
|
||
- Quantity units can now be linked (related measurements / unit conversion)
|
||
- On the quantity unit edit page default conversion can be defined for each unit
|
||
- Products "inherit" the default conversion and additionally can have their own / override the default ones
|
||
- It's now possible to print a "Location Content Sheet" with the current stock per location - new button at the top of the stock overview page
|
||
- The product description now can have formattings (HTML/WYSIWYG editor like for recipes)
|
||
- Recipe improvements
|
||
- Based on the new linked quantity units, recipe ingredients can now use any product related unit, the amount is calculated according to the cnoversion factor of the unit relation
|
||
- Chores improvements
|
||
- Chores can now be assigned to users
|
||
- Option per chore, different "assignment types" like "Random", "Who least did first", etc.
|
||
- On the chores overview page the list can be filterd to only show chores assigned to the currently logged in user
|
||
- New option "Due date rollover" per chore which means the chore can never be overdue, the due date will shift forward each day when due
|
||
- Equipment improvements/fixes
|
||
- Fixed that the delete button not always deleted the currently selected equipment item
|
||
- General improvements/fixes
|
||
- Improved the handling which entry page to use with disabled feature flags (thanks @nielstholenaar)
|
||
- Fixed that the Userfield type "Preset list" had always the caption "Product group" instead of the configured one (thanks @oncleben31)
|
||
- Userfields of type "checkbox" are rendered as a checkmark in tables when checked (instead of "1" as till now)
|
||
- API improvements & non-breaking changes
|
||
- New endpoint `/stock/shoppinglist/add-product` to add a product to a shopping list (thanks @Forceu)
|
||
- New endpoint `/stock/shoppinglist/remove-product` to remove a product from a shopping list (thanks @Forceu)
|
||
- When adding a product (through `stock/product/{productId}/add` or `stock/product/{productId}/inventory`) with omitted best before date and if the given product has "Default best before days" set, the best before date is calculated based on that (so far always today was used which is still the case when no date is supplied and also the product has no "Default best before days set) (thanks @Forceu)
|
||
- Field `stock_amount` of endpoint `/stock/products/{productId}´ now returns `0` instead of `null` when the given product is not in stock (thanks @Forceu)
|
||
- New endpoint `/objects/{entity}/search/{searchString}` search for objects by name (contains search)
|
||
- It's now also possible to provide the API key via a query parameter (same name as the header, so `GROCY-API-KEY`)
|
||
- `/stock/products/{productId}` returns additional fields for the aggregated amount(s): `stock_amount_aggregated` and `stock_amount_opened_aggregated` - contains the same for "normal" products, `is_aggregated_amount` indicates if aggregation has happened
|