diff --git a/buying/doctype/supplier/supplier.py b/buying/doctype/supplier/supplier.py index c02284ea0db..f8de83f79e5 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