Update shift_assignment.py

This commit is contained in:
rohitwaghchaure 2020-09-08 10:14:04 +05:30 committed by GitHub
parent e5b7cb0c15
commit 842cb6d1d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ def add_assignments(events, start, end, conditions=None):
"doctype": "Shift Assignment",
"start_date": d.start_date,
"end_date": d.end_date if d.end_date else nowdate(),
"title": cstr(d.employee_name) + ":"+ \
"title": cstr(d.employee_name) + ": "+ \
cstr(d.shift_type),
"docstatus": d.docstatus
}