[Fix] Not able to make invoice in the subscription (#14594)

This commit is contained in:
rohitwaghchaure 2018-06-20 10:47:55 +05:30 committed by Nabin Hait
parent b0575265fb
commit fd5ac45775

View File

@ -290,7 +290,7 @@ class Subscription(Document):
"""
Returns the `Customer` linked to the `Subscriber`
"""
return frappe.get_value('Subscriber', subscriber_name)
return frappe.get_value('Subscriber', subscriber_name, 'customer')
def get_items_from_plans(self, plans, prorate=0):
"""