Merge branch 'hotfix'

This commit is contained in:
Nabin Hait 2016-10-07 17:48:29 +05:30
commit dc4b554f94
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ import os, sys, importlib, inspect, json
from .exceptions import *
from .utils.jinja import get_jenv, get_template, render_template
__version__ = "7.0.43"
__version__ = "7.0.44"
local = Local()

View file

@ -30,7 +30,7 @@ frappe.get_indicator = function(doc, doctype) {
if(value) {
var colour = "";
if(in_list(locals["Workflow State"], value) && locals["Workflow State"][value].style) {
if(locals["Workflow State"][value] && locals["Workflow State"][value].style) {
var colour = {
"Success": "green",
"Warning": "orange",