2017-09-01 11:34:26 +01:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
import frappe
|
|
|
|
|
|
|
|
|
|
|
|
def execute():
|
2017-09-04 13:40:54 +01:00
|
|
|
if not frappe.db.has_column("GL Entry", "due_date"):
|
2017-09-04 19:40:31 +01:00
|
|
|
frappe.db.sql("ALTER TABLE `tabGL Entry` ADD COLUMN `due_date` DATE NULL")
|