Merge pull request 'fix: refs #7024 create exception for inventory' (!2282) from 7024-create-exception-for-inventory into master
Reviewed-on: #2282 Reviewed-by: Javi Gallego <jgallego@verdnatura.es> Reviewed-by: Guillermo Bonet <guillermo@verdnatura.es>
This commit is contained in:
commit
e3feefefd7
|
@ -15,7 +15,7 @@ BEGIN
|
|||
FROM `entry`
|
||||
WHERE id = vSelf;
|
||||
|
||||
IF vIsBooked THEN
|
||||
IF vIsBooked AND NOT @isModeInventory THEN
|
||||
CALL util.throw('Entry is already booked');
|
||||
END IF;
|
||||
END$$
|
||||
|
|
Loading…
Reference in New Issue