[setup] bug fixes

This commit is contained in:
Rushabh Mehta
2013-06-26 22:31:22 +05:30
parent 5381bdd730
commit 65d12926fd
6 changed files with 21 additions and 10 deletions

View File

@@ -8,6 +8,6 @@ class DocType:
self.doc, self.doclist = d, dl
def validate(self):
for key in ["supplier_type", "maintain_same_rate"]:
for key in ["supplier_type", "supp_master_name", "maintain_same_rate"]:
webnotes.conn.set_default(key, self.doc.fields.get(key, ""))