request: remove _type from form

This commit is contained in:
Rushabh Mehta 2013-02-15 14:39:34 +05:30
parent 1a9f0848b3
commit aae45532f3

View File

@ -120,7 +120,7 @@ def add_ac(args=None):
if not args:
args = webnotes.form_dict
args.pop("cmd")
ac = webnotes.model_wrapper(args)
ac.doc.doctype = "Account"
ac.doc.old_parent = ""