brotherton-erpnext/erpnext/templates/pages/non_profit/leave_chapter.py
2021-11-05 11:16:29 +05:30

10 lines
186 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