Merge pull request #13360 from frappe/manassolanki-patch-3

Update update_project_in_sle.py
This commit is contained in:
Manas Solanki 2018-03-21 18:25:26 +05:30 committed by GitHub
commit a3714e1678
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,4 +12,4 @@ def execute():
sle.project = parent_doc.project
where
sle.voucher_no = parent_doc.name and sle.voucher_type = %s and sle.project is null
and parent_doc.project is not null and parent_doc.project != ''""".format(doctype), doctype, debug=1)
and parent_doc.project is not null and parent_doc.project != ''""".format(doctype), doctype)