[fix] email account patch fix and minor setup wizard fix

This commit is contained in:
Anand Doshi
2015-04-03 14:29:44 +05:30
parent 8bd54f27c5
commit 432c12ad93
2 changed files with 28 additions and 2 deletions

View File

@@ -326,6 +326,7 @@ $.extend(erpnext.wiz, {
slide.get_input("currency").on("change", function() {
var currency = slide.get_input("currency").val();
if (!currency) return;
frappe.model.with_doc("Currency", currency, function() {
frappe.provide("locals.:Currency." + currency);
var currency_doc = frappe.model.get_doc("Currency", currency);