@@ -38,7 +38,7 @@ def execute():
|
|||||||
data = frappe.db.sql(
|
data = frappe.db.sql(
|
||||||
"""
|
"""
|
||||||
SELECT
|
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
|
FROM
|
||||||
`tabStock Ledger Entry`
|
`tabStock Ledger Entry`
|
||||||
WHERE
|
WHERE
|
||||||
@@ -67,6 +67,7 @@ def execute():
|
|||||||
"voucher_type": d.voucher_type,
|
"voucher_type": d.voucher_type,
|
||||||
"voucher_no": d.voucher_no,
|
"voucher_no": d.voucher_no,
|
||||||
"sle_id": d.name,
|
"sle_id": d.name,
|
||||||
|
"creation": d.creation,
|
||||||
},
|
},
|
||||||
allow_negative_stock=True,
|
allow_negative_stock=True,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user