mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-19 10:14:59 +00:00
[Fix] Not able to make invoice in the subscription (#14594)
This commit is contained in:
committed by
Nabin Hait
parent
b0575265fb
commit
fd5ac45775
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user