frappe/frappe#478, fixed list passed in

This commit is contained in:
Rushabh Mehta
2014-04-04 12:16:26 +05:30
parent 558a9aabfb
commit a504f0638b
14 changed files with 61 additions and 65 deletions

View File

@@ -112,7 +112,7 @@ class Company(Document):
def import_chart_of_account(self):
chart = frappe.get_doc("Chart of Accounts", self.chart_of_accounts)
chart.make_controller().create_accounts(self.name)
chart.create_accounts(self.name)
def add_acc(self,lst):
account = frappe.get_doc({