[fix] patch date

This commit is contained in:
Rushabh Mehta 2015-07-01 12:29:41 +05:30
parent 0b0ec3536c
commit 2cd02af80a

View File

@ -5,7 +5,7 @@ import frappe
from erpnext.accounts.doctype.gl_entry.gl_entry import update_against_account from erpnext.accounts.doctype.gl_entry.gl_entry import update_against_account
def execute(): def execute():
from_date = "2015-01-01" from_date = "2015-05-01"
for doc in frappe.get_all("Journal Entry", for doc in frappe.get_all("Journal Entry",
filters={"creation": (">", from_date), "docstatus": "1"}): filters={"creation": (">", from_date), "docstatus": "1"}):