Merge branch 'master' into develop

This commit is contained in:
Nabin Hait 2017-06-01 19:09:32 +05:30
commit 8d29df6ddd
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__ = '8.0.61'
__version__ = '8.0.62'
__title__ = "Frappe Framework"
local = Local()

View file

@ -287,7 +287,7 @@ def has_match(row, linked_doctypes, doctype_match_filters, ref_doctype, if_owner
if dt=="User" and columns_dict[idx]==columns_dict.get("owner"):
continue
if dt in match_filters and row[idx] not in match_filters[dt]:
if dt in match_filters and row[idx] not in match_filters[dt] and frappe.db.exists(dt, row[idx]):
match = False
break