5097-item.summary_available #1312
|
@ -100,7 +100,7 @@ module.exports = Self => {
|
|||
|
||||
const userConfig = await models.UserConfig.getUserConfig(ctx, myOptions);
|
||||
|
||||
|
||||
res = await models.Item.getVisibleAvailable(summary.item.id, userConfig.warehouseFk, null, myOptions);
|
||||
res = await models.Item.getVisibleAvailable(summary.item.id, userConfig.warehouseFk, undefined, myOptions);
|
||||
|
||||
summary.available = res.available;
|
||||
summary.visible = res.visible;
|
||||
|
|
Loading…
Reference in New Issue
que fa esta linea?
Agarra el unic registre de itemConfig, pero he vist q el where sobra. Ho modifique també.