[Fix] Patch (#13610)

This commit is contained in:
rohitwaghchaure 2018-04-12 14:48:23 +05:30 committed by Nabin Hait
parent 2ea593bdd8
commit 1129ac711e

View File

@ -2,6 +2,7 @@ import frappe
from frappe import _ from frappe import _
def execute(): def execute():
frappe.reload_doc('stock', 'doctype', 'item')
language = frappe.get_single("System Settings").language language = frappe.get_single("System Settings").language
if language and language.startswith('en'): return if language and language.startswith('en'): return