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

12 lines
401 B
Python

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