* [enhancement] integration borker and controller * [minor][fix] parameter naming changes * [fix] common scheduler for integration service * [fix] integrations * [patch] patch to move payment gateway in Integration Service * [fix] add payment success, cancel and failuer handling pages * [enhancment] dropbox integration merged in integration services * provision to add custom parameters * [fixes] patch fix to setup dropbox settings * [fixes] removed dropbox backup, api usage note for paypal and razorpay * [minor][fix] deprecate service events * [fix] return type fix for checkout urls * [fix] add custom settings via patch for dropbox backup frequency * [fix] remove gride editting * [enhance] ldap based login * [enhance] login via ldap credentails * [commit] remove parameter table, save params as json dict
12 lines
315 B
Python
12 lines
315 B
Python
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
|
|
# See license.txt
|
|
|
|
from __future__ import unicode_literals
|
|
import frappe
|
|
|
|
def get_context(context):
|
|
token = frappe.local.form_dict.token
|
|
|
|
if token:
|
|
frappe.db.set_value("Integration Request", token, "status", "Cancelled")
|
|
frappe.db.commit()
|