From 28bc87fb8c0fc7abcd4c635f8619ef78bb2e6c8c Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 6 Dec 2012 14:55:36 +0530 Subject: [PATCH] fix in supplier creation issue due to missing make_autoname import --- buying/doctype/supplier/supplier.py | 1 + 1 file changed, 1 insertion(+) diff --git a/buying/doctype/supplier/supplier.py b/buying/doctype/supplier/supplier.py index c02284ea0d..f8de83f79e 100644 --- a/buying/doctype/supplier/supplier.py +++ b/buying/doctype/supplier/supplier.py @@ -20,6 +20,7 @@ import webnotes from webnotes.utils import cstr, get_defaults from webnotes.model.code import get_obj from webnotes import msgprint +from webnotes.model.doc import make_autoname sql = webnotes.conn.sql