refs #6276 remove checking visible
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
3109f7722e
commit
f5ee3aff7a
|
@ -79,11 +79,9 @@ module.exports = Self => {
|
||||||
}
|
}
|
||||||
}, myOptions);
|
}, myOptions);
|
||||||
|
|
||||||
if (itemShelving.visible) {
|
await itemShelving.updateAttributes({
|
||||||
await itemShelving.updateAttributes({
|
visible: itemShelving.visible - quantity}
|
||||||
visible: itemShelving.visible - quantity}
|
, myOptions);
|
||||||
, myOptions);
|
|
||||||
}
|
|
||||||
|
|
||||||
await Self.updateAll(
|
await Self.updateAll(
|
||||||
{saleFk},
|
{saleFk},
|
||||||
|
|
Loading…
Reference in New Issue