brotherton-erpnext/erpnext/templates/pages/non_profit/leave_chapter.py
Vishal Dhayagude eec0f7fd6b [non_profit][fix] Chapter listing and join and leave chapter issue (#12463)
* [fix] Chapter listing and Join and leave chapter issue

* [minor] Changes in chapter html, chapter title to chapter name
2018-01-15 14:10:23 +05:30

8 lines
184 B
Python

import frappe
def get_context(context):
context.no_cache = True
chapter = frappe.get_doc('Chapter', frappe.form_dict.name)
context.member_deleted = True
context.chapter = chapter