From 6d92a8d3a66d90b571db6e931d563999e30db341 Mon Sep 17 00:00:00 2001 From: Makarand Bauskar Date: Tue, 9 May 2017 20:11:55 +0530 Subject: [PATCH 1/2] [minor] fixes for patch set_currency_field_precision (#3253) --- frappe/patches.txt | 2 +- frappe/patches/v8_0/set_currency_field_precision.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frappe/patches.txt b/frappe/patches.txt index 31b31448b4..285c96f4aa 100644 --- a/frappe/patches.txt +++ b/frappe/patches.txt @@ -179,7 +179,7 @@ execute:frappe.db.sql("update `tabDesktop Icon` set type='list' where _doctype=' frappe.patches.v8_0.fix_non_english_desktop_icons # 2017-04-12 frappe.patches.v8_0.set_doctype_values_in_custom_role frappe.patches.v8_0.install_new_build_system_requirements -frappe.patches.v8_0.set_currency_field_precision +frappe.patches.v8_0.set_currency_field_precision # 2017-05-09 frappe.patches.v8_0.rename_print_to_printing frappe.patches.v7_1.disabled_print_settings_for_custom_print_format frappe.patches.v8_0.update_desktop_icons \ No newline at end of file diff --git a/frappe/patches/v8_0/set_currency_field_precision.py b/frappe/patches/v8_0/set_currency_field_precision.py index ef1bc195e3..51bb1ee05e 100644 --- a/frappe/patches/v8_0/set_currency_field_precision.py +++ b/frappe/patches/v8_0/set_currency_field_precision.py @@ -6,6 +6,7 @@ import frappe from frappe.utils import get_number_format_info def execute(): + frappe.reload_doc('core', 'doctype', 'system_settings') if not frappe.db.get_value("System Settings", None, "currency_precision"): default_currency = frappe.db.get_default("currency") number_format = frappe.db.get_value("Currency", default_currency, "number_format") \ From a60bf604692001a1324fd7e1821deaa97661a6d6 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 9 May 2017 20:42:43 +0600 Subject: [PATCH 2/2] bumped to version 8.0.39 --- frappe/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/__init__.py b/frappe/__init__.py index a27ca300ee..1a64700396 100644 --- a/frappe/__init__.py +++ b/frappe/__init__.py @@ -13,7 +13,7 @@ import os, sys, importlib, inspect, json from .exceptions import * from .utils.jinja import get_jenv, get_template, render_template -__version__ = '8.0.38' +__version__ = '8.0.39' __title__ = "Frappe Framework" local = Local()