Merge pull request 'refs #6313 remove restriction' (!1936) from 6313-removecanForceQuantity into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #1936
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Carlos Satorres 2024-01-24 13:55:30 +00:00
commit 1cf9171e19
1 changed files with 0 additions and 1 deletions

View File

@ -28,7 +28,6 @@ module.exports = Self => {
const loopBackContext = LoopBackContext.getCurrentContext();
ctx.req = loopBackContext.active;
if (await models.ACL.checkAccessAcl(ctx, 'Sale', 'canForceQuantity', 'WRITE')) return;
const ticketId = changes?.ticketFk || instance?.ticketFk;
const itemId = changes?.itemFk || instance?.itemFk;