Merge branch 'hotfix'
This commit is contained in:
commit
bc40ed5a87
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ import os, sys, importlib, inspect, json
|
|||
from .exceptions import *
|
||||
from .utils.jinja import get_jenv, get_template, render_template, get_email_from_template
|
||||
|
||||
__version__ = '10.0.21'
|
||||
__version__ = '10.0.22'
|
||||
__title__ = "Frappe Framework"
|
||||
|
||||
local = Local()
|
||||
|
|
|
|||
|
|
@ -437,7 +437,7 @@ _f.Frm.prototype.set_indicator_formatter = function(fieldname, get_color, get_te
|
|||
function(value, df, options, doc) {
|
||||
if(value) {
|
||||
return repl('<a class="indicator %(color)s" href="#Form/%(doctype)s/%(name)s">%(label)s</a>', {
|
||||
color: get_color(doc),
|
||||
color: get_color(doc || {}),
|
||||
doctype: df.options,
|
||||
name: value,
|
||||
label: get_text ? get_text(doc) : value
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue