[Fix] RFQ list showing to all supplier in the portal (#10023)

This commit is contained in:
rohitwaghchaure
2017-07-25 14:12:58 +05:30
committed by Nabin Hait
parent 05e51d6c83
commit 49a6b4a4fa
2 changed files with 5 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ def get_transaction_list(doctype, txt=None, filters=None, limit_start=0, limit_p
else:
filters.append((doctype, "docstatus", "=", 1))
if user != "Guest" and is_website_user():
if (user != "Guest" and is_website_user()) or doctype == 'Request for Quotation':
parties_doctype = 'Request for Quotation Supplier' if doctype == 'Request for Quotation' else doctype
# find party for this contact
customers, suppliers = get_customers_suppliers(parties_doctype, user)