7152-devToTest_2414 #2228

Merged
alexm merged 636 commits from 7152-devToTest_2414 into test 2024-03-28 08:26:34 +00:00
1 changed files with 3 additions and 5 deletions
Showing only changes of commit f5ee3aff7a - Show all commits

View File

@ -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},