#6276 createNewWarehouse methods migrated from silex to salix #1850

Merged
jorgep merged 158 commits from 6276-createNewWarehouse into dev 2024-03-06 11:32:11 +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);
if (itemShelving.visible) {
await itemShelving.updateAttributes({
visible: itemShelving.visible - quantity}
, myOptions);
}
await itemShelving.updateAttributes({
visible: itemShelving.visible - quantity}
, myOptions);
await Self.updateAll(
{saleFk},