HOTFIX: RecalculatePrice not working with all ids #3144

Merged
jsegarra merged 1 commits from hotfix_recalculatePrice_list_ids into master 2024-10-24 08:36:35 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ module.exports = Self => {
CALL vn.sale_recalcComponent(null);
DROP TEMPORARY TABLE tmp.recalculateSales;`;
const recalculation = await Self.rawSql(query, salesIds, myOptions);
const recalculation = await Self.rawSql(query, [salesIds], myOptions);
if (tx) await tx.commit();