diff --git a/models/helpers.ts b/models/helpers.ts index bd6bdef8..6e1b9441 100644 --- a/models/helpers.ts +++ b/models/helpers.ts @@ -1201,7 +1201,7 @@ export async function updatePricingRule(sinvDoc: SalesInvoice) { ).length; setTimeout(() => { - (async () => { + void (async () => { if (appliedPricingRuleCount !== applicablePricingRuleNames?.length) { await sinvDoc.appendPricingRuleDetail(applicablePricingRuleNames); await sinvDoc.applyProductDiscount();