brotherton-erpnext/erpnext/patches/v4_2/add_currency_turkish_lira.py

12 lines
401 B
Python
Raw Normal View History

# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
2014-08-08 07:54:18 +00:00
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
2014-09-09 07:08:21 +00:00
from frappe.geo.country_info import get_country_info
2014-08-08 07:54:18 +00:00
from erpnext.setup.install import add_country_and_currency
def execute():
country = get_country_info(country="Turkey")
add_country_and_currency("Turkey", country)