Update fix_nonwarehouse_ledger_gl_entries_for_transactions.py
diff --git a/erpnext/patches/v7_0/fix_nonwarehouse_ledger_gl_entries_for_transactions.py b/erpnext/patches/v7_0/fix_nonwarehouse_ledger_gl_entries_for_transactions.py
index ff9d48a..ba1d067 100644
--- a/erpnext/patches/v7_0/fix_nonwarehouse_ledger_gl_entries_for_transactions.py
+++ b/erpnext/patches/v7_0/fix_nonwarehouse_ledger_gl_entries_for_transactions.py
@@ -20,7 +20,7 @@
from `tabStock Ledger Entry` sle
where sle.warehouse in (%s) and creation > '2016-05-01'
and not exists(select name from `tabGL Entry`
- where account=sle.warehosue and voucher_type=sle.voucher_type and voucher_no=sle.voucher_no)
+ where account=sle.warehouse and voucher_type=sle.voucher_type and voucher_no=sle.voucher_no)
order by sle.posting_date""" %
', '.join(['%s']*len(warehouses)), tuple(warehouses))
@@ -47,4 +47,4 @@
else:
warehouse_account.remove(account)
- return warehouse_account
\ No newline at end of file
+ return warehouse_account