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 13:24:18 +05:30
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
2014-09-09 12:38:21 +05:30
from frappe.geo.country_info import get_country_info
2014-08-08 13:24:18 +05:30
from erpnext.setup.install import add_country_and_currency
def execute():
country = get_country_info(country="Turkey")
add_country_and_currency("Turkey", country)