[Fix] Text editor with value image not displaying in the print form

This commit is contained in:
Rohit Waghchaure 2018-04-09 16:50:36 +05:30
parent fed10cb199
commit 2ccc7593b1

View file

@ -338,6 +338,9 @@ def has_value(df, doc):
return False
elif isinstance(value, string_types) and not strip_html(value).strip():
if df.fieldtype in ["Text", "Text Editor"]:
return True
return False
elif isinstance(value, list) and not len(value):