Logo
Explore Help
Sign In
kenmirrors/grocy
1
0
Fork 0
You've already forked grocy
mirror of https://github.com/grocy/grocy.git synced 2025-09-18 18:46:51 +00:00
Code Issues Projects Releases Wiki Activity
Files
e946ec79d59f18b47b0ca3392348f4a677832fcd
grocy/migrations/0190.sql

3 lines
96 B
MySQL
Raw Normal View History

Add support for "Move on Open" (#1863) * Add functionality to move a product when it is opened * Update the API to support this (and some other new fields) * Remove console, update move on open when either the default or the consume location change * Fix conflict from fridge * Ignore .DS_STORE from macOS * Fix the migration conflict * Fix the default location not appending properly * Revert changes no longer needed * Fix the checkbox disable logic, and call the function on page load * Simplify the transfer to use the existing function (which also adds logs) * Only move it if it's moving * Code formatting / naming * Clarify help text (it's not always about one unit, but about the corresponding amount opened) * Handle splitted stock entries + optimized/unified product property checks * Added UI feedback on auto moving Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2022-04-18 17:25:08 +01:00
ALTER TABLE products
ADD move_on_open TINYINT NOT NULL DEFAULT 0 CHECK(move_on_open IN (0, 1));
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 210ms Template repo/view: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API