fix: Bundle item rates

(cherry picked from commit 826f45ad60)
This commit is contained in:
Deepesh Garg
2022-12-01 15:51:38 +05:30
committed by Mergify
parent cc0f9d4ed5
commit 82cdf49d32

View File

@@ -259,7 +259,7 @@ def update_product_bundle_rate(parent_items_price, pi_row):
if not rate:
parent_items_price[key] = 0.0
parent_items_price[key] += flt(pi_row.rate)
parent_items_price[key] += flt(pi_row.rate * pi_row.qty)
def set_product_bundle_rate_amount(doc, parent_items_price):