mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 21:49:18 +00:00
[minor]
This commit is contained in:
@@ -90,7 +90,7 @@ def post_process(doctype, data):
|
|||||||
doc.set_indicator()
|
doc.set_indicator()
|
||||||
|
|
||||||
doc.status_display = ", ".join(doc.status_display)
|
doc.status_display = ", ".join(doc.status_display)
|
||||||
doc.items_preview = ", ".join([d.item_name for d in doc.items])
|
doc.items_preview = ", ".join([d.item_name for d in doc.items if d.item_name])
|
||||||
result.append(doc)
|
result.append(doc)
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ from erpnext.controllers.website_list_for_contact import (get_customers_supplier
|
|||||||
|
|
||||||
def get_context(context):
|
def get_context(context):
|
||||||
context.no_cache = 1
|
context.no_cache = 1
|
||||||
|
context.show_sidebar = True
|
||||||
context.doc = frappe.get_doc(frappe.form_dict.doctype, frappe.form_dict.name)
|
context.doc = frappe.get_doc(frappe.form_dict.doctype, frappe.form_dict.name)
|
||||||
context.parents = frappe.form_dict.parents
|
context.parents = frappe.form_dict.parents
|
||||||
context.doc.supplier = get_supplier()
|
context.doc.supplier = get_supplier()
|
||||||
|
|||||||
Reference in New Issue
Block a user