mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 19:59:12 +00:00
ran 2to3, evaluation (#13499)
* ran 2to3, evaluation * Update update_gstin.py * Update accounts_receivable_summary.py
This commit is contained in:
committed by
Nabin Hait
parent
c141eb00ee
commit
efb731941d
@@ -55,7 +55,7 @@ def check_task_creation():
|
||||
all_tasks = frappe.get_all('Task')
|
||||
for task in all_tasks:
|
||||
sample_task = frappe.get_doc('Task', task.name)
|
||||
if sample_task.subject in all_task_dict.keys():
|
||||
if sample_task.subject in list(all_task_dict):
|
||||
if sample_task.exp_start_date != all_task_dict[sample_task.subject]['exp_start_date'] or sample_task.exp_end_date != all_task_dict[sample_task.subject]['exp_end_date']:
|
||||
return False
|
||||
all_task_dict.pop(sample_task.subject)
|
||||
|
||||
Reference in New Issue
Block a user