mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 11:39:18 +00:00
fix: Tags getting fetched correctly in Get Supplier in RFQ (Request For Quotation) (#27499)
* fix: Tags getting fetched correctly in Get Supplier in RFQ( Request For Quotation ) #26343
* fix: Linting issues
* fix: remove unnecessary caching
[skip ci]
Co-authored-by: Vama Mehta <vama.mehta@inqubit.in>
Co-authored-by: Ankush Menat <ankush@iwebnotes.in>
(cherry picked from commit 50fe23308a)
# Conflicts:
# erpnext/buying/doctype/request_for_quotation/request_for_quotation.py
This commit is contained in:
@@ -560,9 +560,14 @@ def get_item_from_material_requests_based_on_supplier(source_name, target_doc=No
|
|||||||
def get_supplier_tag():
|
def get_supplier_tag():
|
||||||
filters = {"document_type": "Supplier"}
|
filters = {"document_type": "Supplier"}
|
||||||
tags = list(set(tag.tag for tag in frappe.get_all("Tag Link", filters=filters, fields=["tag"]) if tag))
|
tags = list(set(tag.tag for tag in frappe.get_all("Tag Link", filters=filters, fields=["tag"]) if tag))
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
return tags
|
return tags
|
||||||
|
|
||||||
|
=======
|
||||||
|
|
||||||
|
return tags
|
||||||
|
>>>>>>> 50fe23308a (fix: Tags getting fetched correctly in Get Supplier in RFQ (Request For Quotation) (#27499))
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
@frappe.validate_and_sanitize_search_inputs
|
@frappe.validate_and_sanitize_search_inputs
|
||||||
|
|||||||
Reference in New Issue
Block a user