Merge branch 'hotfix'
This commit is contained in:
commit
dc4b554f94
2 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue