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

12 lines
404 B
Python
Raw Normal View History

2014-08-08 07:54:18 +00:00
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# 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)