Files
erp/erpnext/patches/v14_0/update_posting_datetime.py

11 lines
158 B
Python

import frappe
def execute():
frappe.db.sql(
"""
UPDATE `tabStock Ledger Entry`
SET posting_datetime = timestamp(posting_date, posting_time)
"""
)