[fix] default contact for website

This commit is contained in:
Rushabh Mehta 2015-10-03 12:08:32 +05:30
parent 5bcf8315de
commit 0bc3ca02f3

View File

@ -35,6 +35,8 @@ def get_transaction_list(doctype, txt=None, filters=None, limit_start=0, limit_p
key, parties = "customer", customers
elif suppliers:
key, parties = "supplier", suppliers
else:
key, parties = "customer", []
filters.append((doctype, key, "in", parties))