[minor] auto close opportunity after 7 days

This commit is contained in:
mbauskar
2017-02-16 19:36:59 +05:30
parent de45b0eddc
commit e1e25a0c9d
4 changed files with 14 additions and 2 deletions

View File

@@ -370,4 +370,5 @@ erpnext.patches.v7_2.set_null_value_to_fields
erpnext.patches.v7_2.update_guardian_name_in_student_master
erpnext.patches.v7_2.update_abbr_in_salary_slips
erpnext.patches.v7_2.rename_evaluation_criteria
erpnext.patches.v7_2.update_party_type
erpnext.patches.v7_2.update_party_type
execute:frappe.db.sql("update `tabOpportunity` set status='Closed' where status='Replied' and date_sub(curdate(), interval 7 Day)>modified")