2
0
mirror of https://github.com/frappe/books.git synced 2024-11-14 09:24:04 +00:00

fix: apply pricing rule when min quantity is 1

This commit is contained in:
AbleKSaju 2024-09-04 17:02:35 +05:30
parent 57ee64e2b1
commit 431be39f35

View File

@ -447,6 +447,7 @@ export default defineComponent({
rate: item.rate as Money, rate: item.rate as Money,
item: item.name, item: item.name,
}); });
await this.applyPricingRule(); await this.applyPricingRule();
await this.sinvDoc.runFormulas(); await this.sinvDoc.runFormulas();
}, },