5097-item.summary_available #1312

Merged
vicent merged 16 commits from 5097-item.summary_available into dev 2023-02-17 08:54:23 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit eefafb3ac2 - Show all commits

View File

@ -100,7 +100,7 @@ module.exports = Self => {
const userConfig = await models.UserConfig.getUserConfig(ctx, myOptions);

que fa esta linea?

que fa esta linea?

Agarra el unic registre de itemConfig, pero he vist q el where sobra. Ho modifique també.

Agarra el unic registre de itemConfig, pero he vist q el where sobra. Ho modifique també.
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;