fix: refs #6861 assignCollection #3083

Merged
sergiodt merged 3 commits from 6861-ItemShelvingSaleReserve into master 2024-10-15 05:00:27 +00:00
3 changed files with 7 additions and 2 deletions
Showing only changes of commit 06b7d56837 - Show all commits

View File

@ -0,0 +1,2 @@
ALTER TABLE vn.sector ADD isOnReservationMode tinyint(1) DEFAULT FALSE NULL;

View File

@ -59,6 +59,9 @@
"isReserve": {
"type": "boolean",
"required": true
},
"isOnReservationMode": {
"type": "boolean"
}
}
}

View File

@ -87,7 +87,7 @@ module.exports = Self => {
{
relation: 'sector',
scope: {
fields: ['warehouseFk', 'description'],
fields: ['warehouseFk', 'description', 'isOnReservationMode'],
}
}, {
relation: 'printer',