Merge pull request #2316 from nabinhait/stock_reco

Minor fix
This commit is contained in:
Nabin Hait 2014-10-15 14:44:06 +05:30
commit 93a8042f08

View File

@ -11,6 +11,7 @@ def execute():
warehouse_account = frappe.db.sql("""select name, master_name from tabAccount
where ifnull(account_type, '') = 'Warehouse'""")
if warehouse_account:
warehouses = [d[1] for d in warehouse_account]
accounts = [d[0] for d in warehouse_account]