mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 20:59:11 +00:00
[minor] fix imports in old patches
This commit is contained in:
@@ -3,9 +3,8 @@
|
||||
|
||||
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():
|
||||
return
|
||||
country = get_country_info(country="Turkey")
|
||||
add_country_and_currency("Turkey", country)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
from frappe.www.style_settings import default_properties
|
||||
|
||||
def execute():
|
||||
return
|
||||
frappe.reload_doc('website', 'doctype', 'style_settings')
|
||||
style_settings = frappe.get_doc("Style Settings", "Style Settings")
|
||||
if not style_settings.apply_style:
|
||||
|
||||
Reference in New Issue
Block a user