Commit 14195bb1 authored by Charles-Henri Decultot's avatar Charles-Henri Decultot
Browse files

Merge branch 'staging'

parents a49b9e76 169c5d2c
......@@ -5,7 +5,7 @@ import frappe
from erpnext.hooks import regional_overrides
from frappe.utils import getdate
__version__ = '1.3.9'
__version__ = '1.3.10'
def get_default_company(user=None):
'''Get default company for user'''
......
......@@ -84,7 +84,7 @@ class WebhooksController():
if self.metadata.get("reference_doctype") == "Subscription":
self.subscription = frappe.get_doc(self.metadata.get("reference_doctype"), self.metadata.get("reference_name"))
if self.subscription.status == 'Active':
self.subscription.run_method("process_active_subscription", dict(payment_entry=self.payment_entry.name))
self.subscription.run_method("process_active_subscription", payment_entry=self.payment_entry.name)
def change_status(self):
self.integration_request.db_set("error", _("This type of event is not handled by dokos"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment