From d3db70bb7297b24f31685242d2ff41fb9f8996c4 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 30 Jan 2012 11:08:47 +0530 Subject: [PATCH] Supplier rename fix --- erpnext/buying/doctype/supplier/supplier.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erpnext/buying/doctype/supplier/supplier.py b/erpnext/buying/doctype/supplier/supplier.py index 55bf8b8535..d43900b177 100644 --- a/erpnext/buying/doctype/supplier/supplier.py +++ b/erpnext/buying/doctype/supplier/supplier.py @@ -158,8 +158,7 @@ class DocType: ('Payable Voucher', 'supplier'), ('Purchase Order', 'supplier'), ('Purchase Receipt', 'supplier'), - ('Serial No', 'supplier'), - ('Supplier Quotation', 'supplier')] + ('Serial No', 'supplier')] for rec in update_fields: sql("update `tab%s` set supplier_name = '%s' where %s = '%s'" %(rec[0],newdn,rec[1],olddn))