Browse Source

Merge branch 'hotfix'

version-14
Nabin Hait 8 years ago
parent
commit
dc4b554f94
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      frappe/__init__.py
  2. +1
    -1
      frappe/public/js/frappe/model/indicator.js

+ 1
- 1
frappe/__init__.py View File

@@ -13,7 +13,7 @@ import os, sys, importlib, inspect, json
from .exceptions import * from .exceptions import *
from .utils.jinja import get_jenv, get_template, render_template from .utils.jinja import get_jenv, get_template, render_template


__version__ = "7.0.43"
__version__ = "7.0.44"


local = Local() local = Local()




+ 1
- 1
frappe/public/js/frappe/model/indicator.js View File

@@ -30,7 +30,7 @@ frappe.get_indicator = function(doc, doctype) {
if(value) { if(value) {
var colour = ""; 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 = { var colour = {
"Success": "green", "Success": "green",
"Warning": "orange", "Warning": "orange",


Loading…
Cancel
Save