Merge branch 'master' of github.com:webnotes/erpnext into website-wip

Conflicts:
	patches/patch_list.py
This commit is contained in:
Anand Doshi
2013-09-12 17:03:21 +05:30
6 changed files with 17 additions and 7 deletions

View File

@@ -0,0 +1,9 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import webnotes
def execute():
webnotes.conn.sql("""update `tabStock Ledger Entry` sle, tabItem i
set sle.stock_uom = i.stock_uom
where sle.item_code = i.name and ifnull(sle.stock_uom, '') = ''""")