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

Merge branch 'staging'

parents 64924480 f70b6975
......@@ -5,7 +5,7 @@ import frappe
from erpnext.hooks import regional_overrides
from frappe.utils import getdate
__version__ = '1.4.10'
__version__ = '1.4.11'
def get_default_company(user=None):
'''Get default company for user'''
......
......@@ -114,7 +114,7 @@ class GoCardlessSettings(PaymentGatewayController):
try:
self.integration_request = create_request_log(self.data, "Request", "GoCardless")
self._payment_request = frappe.get_doc("Payment Request", self.data.payment_request)
self._payment_request = frappe.get_doc("Payment Request", self.data.reference_docname)
self.reference_document = self._payment_request
self.create_charge_on_gocardless()
......
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