From b4a570242ecf61d611c2e2d88a7cd29a89f36775 Mon Sep 17 00:00:00 2001 From: Sagar Vora Date: Fri, 23 Aug 2019 12:12:27 +0530 Subject: [PATCH] fix: incorrect value being passed to get_taxes function (#18509) --- erpnext/accounts/party.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/party.py b/erpnext/accounts/party.py index ebe41f734fc..80274e0c395 100644 --- a/erpnext/accounts/party.py +++ b/erpnext/accounts/party.py @@ -53,7 +53,7 @@ def _get_party_details(party=None, account=None, party_type="Customer", company= set_other_values(out, party, party_type) set_price_list(out, party, party_type, price_list, pos_profile) - out["taxes_and_charges"] = set_taxes(party.name, party_type, posting_date, company, out.customer_group, out.supplier_type) + out["taxes_and_charges"] = set_taxes(party.name, party_type, posting_date, company, out.customer_group, out.supplier_group) if fetch_payment_terms_template: out["payment_terms_template"] = get_pyt_term_template(party.name, party_type, company)