grocy/changelog/55_UNRELEASED_2019-xx-xx.md

3.9 KiB

New feature: Transfer products between locations and edit stock entries

  • New menu entry in the sidebar to transfer products (or as a shortcut in the more/context menu per line on the stock overview page)
  • New menu entry in the more/context menu of stock overview page lines to show the detail stock entries behind the corresponding product
    • From there you can also edit the stock entries
  • A huge THANK YOU goes to @kriddles for the work on this feature

New feature: Self produced products

  • To a recipe a product can be attached
    • This products needs a "Default best before date"
  • On using "Consume all ingredients needed by this recipe" and when it has a product attached, one unit of that product (per serving in purchase quantity unit) will be added to stock (with the proper price based on the recipe ingredients)
  • (Thanks @kriddles for the intial work on this)

Stock improvements/fixes

  • The productcard gets now also refreshed after a transaction was posted (purchase/consume/etc.) (thanks @kriddles)
  • The product field calories (kcal) now also allows decimal numbers
  • Fixed that entering partial amounts was not possible on the inventory page (only applies if the product option "Allow partial units in stock" is enabled)
  • Fixed that on purchase a wrong minimum amount was enforced for products with enabled tare weight handling in combination with different purchase/stock quantity units
  • Fixed that the productcard did not load correctly when FEATURE_FLAG_STOCK_LOCATION_TRACKING was set to false (thanks @kriddles)

Shopping list fixes

  • Fixed that when FEATURE_FLAG_SHOPPINGLIST_MULTIPLE_LISTS was set to false, the shopping list appeared empty after some actions

Recipe improvements

  • When adding or editing a recipe ingredient, a dialog is now used instead of switching between pages (thanks @kriddles)

Meal plan fixes

  • Fixed that when FEATURE_FLAG_STOCK_PRICE_TRACKING was set to false, prices were still shown (thanks @kriddles)
  • Fixed that the week costs were missing for the weeks 1 - 9 of a year

Calendar improvements

  • Improved that meal plan events in the iCal calendar export now contain a link to the appropriate meal plan week in the body of the event (thanks @kriddles)

Task fixes

  • Fixed that a due date was required when editing an existing task

API improvements/fixes

  • The endpoint /stock now includes also the product object itself (new field/property product) (thanks @gsacre)
  • Fixed that the route /stock/barcodes/external-lookup/{barcode} did not work, because the barcode argument was expected as a route argument but the route was missing it (thanks @Mikhail5555 and @beetle442002)
  • Fixed the response type description of the /stock/volatile endpoint
  • New endpoints for the stock transfer & stock entry edit capabilities mentioned above

General & other improvements/fixes

  • It's now possible to keep the screen on always or when a "fullscreen-card" (e. g. used for recipes) is displayed
    • New user options in the display settings menu in the top right corner (default is disabled)
  • Fixed that also the first column (where in most tables only buttons/menus are displayed) in tables was searched when using the general search field
  • Fixed that the meal plan menu entry (sidebar) was not visible when the calendar was disabled (FEATURE_FLAG_CALENDAR) (thanks @lwis)
  • Slightly optimized table loading & search performance (thanks @lwis)
  • For integration: If a GET parameter closeAfterCreation is passed to the product edit page, the window will be closed on save (due to Browser restrictions, this only works when the window was opened from JavaScript) (thanks @Forceu)
  • Fixed that the update.sh file had wrong line endings (DOS instead of Unix)
  • Internal change: Demo mode is now handled via the setting MODE instead of checking the existence of the file data/demo.txt
  • New translations: (thanks all the translators)