mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-27 18:48:31 +00:00
fix: Do not calculate total for rate
This commit is contained in:
@@ -603,8 +603,6 @@ def add_sub_total_row(item, total_row_map, group_by_value, tax_columns):
|
||||
|
||||
for tax in tax_columns:
|
||||
total_row.setdefault(frappe.scrub(tax + ' Amount'), 0.0)
|
||||
total_row.setdefault(frappe.scrub(tax + ' Rate'), 0.0)
|
||||
total_row[frappe.scrub(tax + ' Rate')] += flt(item[frappe.scrub(tax + ' Rate')])
|
||||
total_row[frappe.scrub(tax + ' Amount')] += flt(item[frappe.scrub(tax + ' Amount')])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user