fix: Bundle item rates

This commit is contained in:
Deepesh Garg 2022-12-01 15:51:38 +05:30
parent 12637cda84
commit 826f45ad60

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):