From c2dae359664d5b22f73ca900c6f1264840727481 Mon Sep 17 00:00:00 2001 From: saurabh Date: Fri, 19 Feb 2016 11:08:45 +0530 Subject: [PATCH] fetch customer or supplier language and set on sales and purchase flow's form --- erpnext/accounts/party.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/party.py b/erpnext/accounts/party.py index 29ed02d47c..0c8d999a98 100644 --- a/erpnext/accounts/party.py +++ b/erpnext/accounts/party.py @@ -92,9 +92,9 @@ def set_contact_details(out, party, party_type): def set_other_values(out, party, party_type): # copy if party_type=="Customer": - to_copy = ["customer_name", "customer_group", "territory"] + to_copy = ["customer_name", "customer_group", "territory", "language"] else: - to_copy = ["supplier_name", "supplier_type"] + to_copy = ["supplier_name", "supplier_type", "language"] for f in to_copy: out[f] = party.get(f)