mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 21:19:19 +00:00
Merge branch 'master' of github.com:webnotes/erpnext into perpetual
This commit is contained in:
@@ -270,4 +270,4 @@ class DocType(DocListController):
|
||||
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]})
|
||||
|
||||
Reference in New Issue
Block a user