brotherton-erpnext/erpnext/patches/v8_10/add_due_date_to_gle.py
2017-09-04 19:40:31 +01:00

8 lines
202 B
Python

from __future__ import unicode_literals
import frappe
def execute():
if not frappe.db.has_column("GL Entry", "due_date"):
frappe.db.sql("ALTER TABLE `tabGL Entry` ADD COLUMN `due_date` DATE NULL")