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() existing_assignee = self.get_assignee_from_latest_opportunity()
if existing_assignee: if existing_assignee:
add_assignemnt({ add_assignemnt({
'doctype': self.doctype 'doctype': self.doctype,
'name': self.name 'name': self.name,
'assign_to': existing_assignee 'assign_to': existing_assignee
}) })
return return