diff --git a/erpnext/__version__.py b/erpnext/__version__.py index 61a6eb7624..798d824931 100644 --- a/erpnext/__version__.py +++ b/erpnext/__version__.py @@ -1,2 +1,2 @@ from __future__ import unicode_literals -__version__ = '6.6.1' +__version__ = '6.6.2' diff --git a/erpnext/accounts/party.py b/erpnext/accounts/party.py index d7b23ac1f4..2f0c0e54b5 100644 --- a/erpnext/accounts/party.py +++ b/erpnext/accounts/party.py @@ -201,7 +201,8 @@ def get_party_gle_currency(party_type, party, company): return existing_gle_currency[0][0] if existing_gle_currency else None - return frappe.local_cache("party_gle_currency", (party_type, party, company), generator) + return frappe.local_cache("party_gle_currency", (party_type, party, company), generator, + regenerate_if_none=True) def validate_party_gle_currency(party_type, party, company, party_account_currency=None): """Validate party account currency with existing GL Entry's currency""" diff --git a/erpnext/hooks.py b/erpnext/hooks.py index ee1c485962..2af711ee33 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -29,7 +29,7 @@ blogs. """ app_icon = "icon-th" app_color = "#e74c3c" -app_version = "6.6.1" +app_version = "6.6.2" github_link = "https://github.com/frappe/erpnext" error_report_email = "support@erpnext.com" diff --git a/setup.py b/setup.py index 9cb51f263a..5cd197f2b0 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -version = "6.6.1" +version = "6.6.2" with open("requirements.txt", "r") as f: install_requires = f.readlines()