commit | 328fc095a094a9eba55946c669ffb4f61522691a | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Thu Aug 22 10:48:41 2013 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Thu Aug 22 10:48:41 2013 +0530 |
tree | a9107b20d90765089456ae186144a35d9ccb3b39 | |
parent | 77343391f54d6c3c25db4da131163461a52da4b8 [diff] |
[fix] [minor] fixes in item merging
diff --git a/stock/doctype/item/item.py b/stock/doctype/item/item.py index 9ae1bfd..e6c277e 100644 --- a/stock/doctype/item/item.py +++ b/stock/doctype/item/item.py
@@ -272,4 +272,4 @@ from stock.stock_ledger import update_entries_after for wh in webnotes.conn.sql("""select warehouse from `tabBin` where item_code=%s""", newdn): - update_entries_after({"item_code": newdn, "warehouse": wh}) + update_entries_after({"item_code": newdn, "warehouse": wh[0]})