diff --git a/patches/january_2013/stock_reconciliation_patch.py b/patches/january_2013/stock_reconciliation_patch.py index 12035954f7f..91622e7b445 100644 --- a/patches/january_2013/stock_reconciliation_patch.py +++ b/patches/january_2013/stock_reconciliation_patch.py @@ -58,5 +58,5 @@ def store_stock_reco_json(): content = read_csv_content(content) reconciliation_json = json.dumps(content, separators=(',', ': ')) webnotes.conn.sql("""update `tabStock Reconciliation` - set reconciliation_json=%s where name=%s""", (reconciliation_json, name)) + set reconciliation_json=%s where name=%s""", (reconciliation_json, reco)) \ No newline at end of file