Merge pull request 'refs #6313 remove restriction' (!1936) from 6313-removecanForceQuantity into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #1936 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
1cf9171e19
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue