2016-12-08 10:06:23 +00:00
|
|
|
import frappe
|
|
|
|
|
|
|
|
def execute():
|
|
|
|
frappe.reload_doctype("Currency Exchange")
|
|
|
|
frappe.db.sql("""
|
|
|
|
update `tabCurrency Exchange`
|
|
|
|
set `date` = '2010-01-01'
|
2018-01-31 10:00:03 +00:00
|
|
|
where date is null or date = '0000-00-00'
|
2016-12-08 10:06:23 +00:00
|
|
|
""")
|