[py3] Cast dict_keys to list (#13663)

This commit is contained in:
Faris Ansari 2018-04-16 14:39:37 +05:30 committed by GitHub
parent bc83daf0fa
commit d7a3b78fdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,7 +155,7 @@ class Gstr1Report(object):
and parent in (%s)
order by account_head
""" % (self.tax_doctype, '%s', ', '.join(['%s']*len(self.invoices.keys()))),
tuple([self.doctype] + self.invoices.keys()))
tuple([self.doctype] + list(self.invoices.keys())))
self.items_based_on_tax_rate = {}
self.invoice_cess = frappe._dict()