Skip to content

Commit 1261513

Browse files
Merge pull request #44280 from frappe/mergify/bp/version-15/pr-44275
fix: patch (backport #44191) (backport #44275)
2 parents 81f1f1f + 5f752e2 commit 1261513

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

erpnext/patches/v13_0/item_reposting_for_incorrect_sl_and_gl.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def execute():
3838
data = frappe.db.sql(
3939
"""
4040
SELECT
41-
name, item_code, warehouse, voucher_type, voucher_no, posting_date, posting_time, company
41+
name, item_code, warehouse, voucher_type, voucher_no, posting_date, posting_time, company, creation
4242
FROM
4343
`tabStock Ledger Entry`
4444
WHERE
@@ -67,6 +67,7 @@ def execute():
6767
"voucher_type": d.voucher_type,
6868
"voucher_no": d.voucher_no,
6969
"sle_id": d.name,
70+
"creation": d.creation,
7071
},
7172
allow_negative_stock=True,
7273
)

0 commit comments

Comments
 (0)