Allow empty QU when editing product barcodes (fixes #2526)

This commit is contained in:
Bernd Bestel
2025-01-12 14:27:19 +01:00
parent c73be7d18e
commit b6ce9eec30
3 changed files with 16 additions and 1 deletions

View File

@@ -17,6 +17,7 @@
- A plugin for [Open Food Facts](https://world.openfoodfacts.org/) is now included and used by default (see the `config.php` option `STOCK_BARCODE_LOOKUP_PLUGIN` and maybe change it as needed)
- The product name and image (and of course the barcode itself) are taken over from Open Food Facts to the product being looked up
- Optimized that when moving a product to a freezer location (so when freezing it) the due date will no longer be replaced when the product option "Default due days after freezing" is set to `0`
- Fixed that a once set quantity unit on a product barcode could not be removed on edit
### Shopping list