mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 03:29:16 +00:00
Enable frequently used currencies. Fixes #1561
This commit is contained in:
@@ -44,6 +44,10 @@ def import_country_and_currency():
|
|||||||
"number_format": country.number_format
|
"number_format": country.number_format
|
||||||
}).insert()
|
}).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():
|
def feature_setup():
|
||||||
"""save global defaults and features setup"""
|
"""save global defaults and features setup"""
|
||||||
doc = frappe.get_doc("Features Setup", "Features Setup")
|
doc = frappe.get_doc("Features Setup", "Features Setup")
|
||||||
|
|||||||
Reference in New Issue
Block a user