From 438c4fb279c4398bf189206cbb0f5941a422efeb Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Sat, 7 Nov 2015 15:38:29 +0530 Subject: [PATCH 1/2] [patch] reload doctype Leave Allocation --- erpnext/patches/v6_6/remove_fiscal_year_from_leave_allocation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches/v6_6/remove_fiscal_year_from_leave_allocation.py b/erpnext/patches/v6_6/remove_fiscal_year_from_leave_allocation.py index b150173a92..11c582fc49 100644 --- a/erpnext/patches/v6_6/remove_fiscal_year_from_leave_allocation.py +++ b/erpnext/patches/v6_6/remove_fiscal_year_from_leave_allocation.py @@ -2,6 +2,7 @@ from __future__ import unicode_literals import frappe def execute(): + frappe.reload_doctype("Leave Allocation") if frappe.db.has_column("Leave Allocation", "fiscal_year"): for leave_allocation in frappe.db.sql("select name, fiscal_year from `tabLeave Allocation`", as_dict=True): dates = frappe.db.get_value("Fiscal Year", leave_allocation["fiscal_year"], From 64949bfc4b32a537520efe4e45a439e5755e4951 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Sat, 7 Nov 2015 16:10:22 +0600 Subject: [PATCH 2/2] bumped to version 6.7.6 --- erpnext/__version__.py | 2 +- erpnext/hooks.py | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/erpnext/__version__.py b/erpnext/__version__.py index 1c25837f79..1c50efc2e9 100644 --- a/erpnext/__version__.py +++ b/erpnext/__version__.py @@ -1,2 +1,2 @@ from __future__ import unicode_literals -__version__ = '6.7.5' +__version__ = '6.7.6' diff --git a/erpnext/hooks.py b/erpnext/hooks.py index fc997fbb9f..7bf4201bfd 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -29,7 +29,7 @@ blogs. """ app_icon = "icon-th" app_color = "#e74c3c" -app_version = "6.7.5" +app_version = "6.7.6" source_link = "https://github.com/frappe/erpnext" error_report_email = "support@erpnext.com" diff --git a/setup.py b/setup.py index a5f9aac14c..bc61dded37 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -version = "6.7.5" +version = "6.7.6" with open("requirements.txt", "r") as f: install_requires = f.readlines()