fix: syntax error

This commit is contained in:
Pranav Nachanekar 2019-10-04 15:50:02 +05:30
parent 0082b78075
commit 911e034d1c

View File

@ -112,8 +112,8 @@ class Appointment(Document):
existing_assignee = self.get_assignee_from_latest_opportunity()
if existing_assignee:
add_assignemnt({
'doctype': self.doctype
'name': self.name
'doctype': self.doctype,
'name': self.name,
'assign_to': existing_assignee
})
return