From e5e5d8271fee24d2e63e88af8c920d5d0ea2a4ce Mon Sep 17 00:00:00 2001 From: Manas Solanki Date: Mon, 15 Jan 2018 12:22:28 +0530 Subject: [PATCH] Update utils.py --- erpnext/regional/india/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/regional/india/utils.py b/erpnext/regional/india/utils.py index 631fc2508d..fb421fb126 100644 --- a/erpnext/regional/india/utils.py +++ b/erpnext/regional/india/utils.py @@ -67,9 +67,9 @@ def set_place_of_supply(doc, method): address_name = doc.shipping_address_name or doc.customer_address if address_name: address = frappe.db.get_value("Address", address_name, ["gst_state", "gst_state_number"], as_dict=1) - doc.place_of_supply = cstr(address.gst_state_number) + "-" + address.gst_state + doc.place_of_supply = cstr(address.gst_state_number) + "-" + cstr(address.gst_state) # don't remove this function it is used in tests def test_method(): '''test function''' - return 'overridden' \ No newline at end of file + return 'overridden'