Merge pull request #44288 from frappe/mergify/bp/version-14-hotfix/pr-44191

fix: patch (backport #44191)
This commit is contained in:
rohitwaghchaure
2024-11-22 16:25:03 +05:30
committed by GitHub

View File

@@ -38,7 +38,7 @@ def execute():
data = frappe.db.sql(
"""
SELECT
name, item_code, warehouse, voucher_type, voucher_no, posting_date, posting_time, company
name, item_code, warehouse, voucher_type, voucher_no, posting_date, posting_time, company, creation
FROM
`tabStock Ledger Entry`
WHERE
@@ -67,6 +67,7 @@ def execute():
"voucher_type": d.voucher_type,
"voucher_no": d.voucher_no,
"sle_id": d.name,
"creation": d.creation,
},
allow_negative_stock=True,
)