mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
[WIP] Task statuses updated in website
This commit is contained in:
@@ -3,5 +3,8 @@ from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
def get_context(context):
|
||||
# do your magic here
|
||||
pass
|
||||
if frappe.form_dict.project:
|
||||
context.parents = [{'title': frappe.form_dict.project, 'route': '/projects?project='+ frappe.form_dict.project}]
|
||||
|
||||
elif context.doc and context.doc.get('project'):
|
||||
context.parents = [{'title': context.doc.project, 'route': '/projects?project='+ context.doc.project}]
|
||||
Reference in New Issue
Block a user