From b4bf757a15c404080679335bcce04ba45a7e4eae Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 27 Jul 2016 15:19:12 +0530 Subject: [PATCH 1/2] Update fix_nonwarehouse_ledger_gl_entries_for_transactions.py --- .../fix_nonwarehouse_ledger_gl_entries_for_transactions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ff9d48a4e6a..ba1d067116c 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 @@ def execute(): 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 @@ def set_warehouse_for_stock_account(warehouse_account): else: warehouse_account.remove(account) - return warehouse_account \ No newline at end of file + return warehouse_account From b2c9848886b8725671cd0448144d6f52a8468ddc Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 27 Jul 2016 15:49:58 +0600 Subject: [PATCH 2/2] bumped to version 7.0.7 --- erpnext/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/__init__.py b/erpnext/__init__.py index 6dd244752d0..0a6655d4bb0 100644 --- a/erpnext/__init__.py +++ b/erpnext/__init__.py @@ -2,7 +2,7 @@ from __future__ import unicode_literals import frappe -__version__ = '7.0.6' +__version__ = '7.0.7' def get_default_company(user=None): '''Get default company for user'''