commit | 0bc3ca02f3067d589eccca36e839aa70c5965f1e | [log] [tgz] |
---|---|---|
author | Rushabh Mehta <rmehta@gmail.com> | Sat Oct 03 12:08:32 2015 +0530 |
committer | Rushabh Mehta <rmehta@gmail.com> | Sat Oct 03 12:08:43 2015 +0530 |
tree | 427b03d665270e3558eebb07a1252091db68b550 | |
parent | 5bcf8315de7d4bf6637491be328a1f98656a5fb8 [diff] |
[fix] default contact for website
diff --git a/erpnext/controllers/website_list_for_contact.py b/erpnext/controllers/website_list_for_contact.py index 51fb0a5..c925383 100644 --- a/erpnext/controllers/website_list_for_contact.py +++ b/erpnext/controllers/website_list_for_contact.py
@@ -35,6 +35,8 @@ key, parties = "customer", customers elif suppliers: key, parties = "supplier", suppliers + else: + key, parties = "customer", [] filters.append((doctype, key, "in", parties))