This commit is contained in:
Rushabh Mehta
2014-03-28 16:44:37 +05:30
parent 43405203b2
commit b385ecf65e
83 changed files with 349 additions and 349 deletions

View File

@@ -103,7 +103,7 @@ def add_ac(args=None):
args = frappe.local.form_dict
args.pop("cmd")
ac = frappe.bean(args)
ac = frappe.get_doc(args)
ac.doctype = "Account"
ac.old_parent = ""
ac.freeze_account = "No"
@@ -116,7 +116,7 @@ def add_cc(args=None):
args = frappe.local.form_dict
args.pop("cmd")
cc = frappe.bean(args)
cc = frappe.get_doc(args)
cc.doctype = "Cost Center"
cc.old_parent = ""
cc.insert()