From de560aa094ea2befd33a6bed247514039bec78dc Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 6 May 2014 12:02:23 +0530 Subject: [PATCH] Enable frequently used currencies. Fixes #1561 --- erpnext/setup/install.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/erpnext/setup/install.py b/erpnext/setup/install.py index 8cc1afa80ff..ba1dfb70f99 100644 --- a/erpnext/setup/install.py +++ b/erpnext/setup/install.py @@ -44,6 +44,10 @@ def import_country_and_currency(): "number_format": country.number_format }).insert() + # enable frequently used currencies + for currency in ("INR", "USD", "GBP", "EUR", "AED", "AUD", "JPY", "CNY", "CHF"): + frappe.db.set_value("Currency", currency, "enabled", 1) + def feature_setup(): """save global defaults and features setup""" doc = frappe.get_doc("Features Setup", "Features Setup")