mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
[production] update planned and produced ty
This commit is contained in:
11
patches/october_2013/repost_planned_qty.py
Normal file
11
patches/october_2013/repost_planned_qty.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
def execute():
|
||||
import webnotes
|
||||
from utilities.repost_stock import get_planned_qty, update_bin
|
||||
|
||||
for d in webnotes.conn.sql("select item_code, warehouse from tabBin"):
|
||||
update_bin(d[0], d[1], {
|
||||
"planned_qty": get_planned_qty(d[0], d[1])
|
||||
})
|
||||
Reference in New Issue
Block a user