mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
fix: user is not a field (#24129)
This commit is contained in:
committed by
GitHub
parent
f2206c27e7
commit
c553453825
@@ -59,7 +59,7 @@ class Member(Document):
|
|||||||
frappe.msgprint(_("A customer is already linked to this Member"))
|
frappe.msgprint(_("A customer is already linked to this Member"))
|
||||||
cust = create_customer(frappe._dict({
|
cust = create_customer(frappe._dict({
|
||||||
'fullname': self.member_name,
|
'fullname': self.member_name,
|
||||||
'email': self.email_id or self.user,
|
'email': self.email_id or self.email,
|
||||||
'phone': None
|
'phone': None
|
||||||
}))
|
}))
|
||||||
|
|
||||||
@@ -177,4 +177,4 @@ def register_member(fullname, email, rzpay_plan_id, subscription_id, pan=None, m
|
|||||||
mobile=mobile
|
mobile=mobile
|
||||||
))
|
))
|
||||||
|
|
||||||
return member.name
|
return member.name
|
||||||
|
|||||||
Reference in New Issue
Block a user