Merge pull request 'fix: refs #8511 ref #8511 ensure entry is editable for new entryFk in buy_beforeUpdate trigger' (!3403) from 8511-Error-traslado-compras into master
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #3403 Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
commit
0a9e3d5d54
|
@ -20,6 +20,7 @@ trig:BEGIN
|
||||||
THEN
|
THEN
|
||||||
|
|
||||||
CALL entry_isEditable(OLD.entryFk);
|
CALL entry_isEditable(OLD.entryFk);
|
||||||
|
CALL entry_isEditable(NEW.entryFk);
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
SET NEW.editorFk = account.myUser_getId();
|
SET NEW.editorFk = account.myUser_getId();
|
||||||
|
|
Loading…
Reference in New Issue