Merge pull request 'feat: refs #8075 autoupdating' (!3078) from 8075-itemShelvingMoving into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #3078
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
Pako Natek 2024-10-07 08:24:30 +00:00
commit ed4dff1914
1 changed files with 3 additions and 0 deletions

View File

@ -9,5 +9,8 @@ BEGIN
SET NEW.userFk = account.myUser_getId();
END IF;
IF NEW.shelvingFk <> OLD.shelvingFk THEN
SET NEW.isMoving = FALSE;
END IF;
END$$
DELIMITER ;