request: remove _type from form
This commit is contained in:
parent
1a9f0848b3
commit
aae45532f3
@ -120,7 +120,7 @@ def add_ac(args=None):
|
|||||||
if not args:
|
if not args:
|
||||||
args = webnotes.form_dict
|
args = webnotes.form_dict
|
||||||
args.pop("cmd")
|
args.pop("cmd")
|
||||||
|
|
||||||
ac = webnotes.model_wrapper(args)
|
ac = webnotes.model_wrapper(args)
|
||||||
ac.doc.doctype = "Account"
|
ac.doc.doctype = "Account"
|
||||||
ac.doc.old_parent = ""
|
ac.doc.old_parent = ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user