Browse Source

fix: remove debug from query

develop
Ankush Menat 3 years ago
committed by Ankush Menat
parent
commit
126ba16740
  1. 2
      erpnext/manufacturing/report/job_card_summary/job_card_summary.py
  2. 2
      erpnext/stock/report/process_loss_report/process_loss_report.py

2
erpnext/manufacturing/report/job_card_summary/job_card_summary.py

@ -45,7 +45,7 @@ def get_data(filters):
job_card_time_details = {}
for job_card_data in frappe.get_all("Job Card Time Log",
fields=["min(from_time) as from_time", "max(to_time) as to_time", "parent"],
filters=job_card_time_filter, group_by="parent", debug=1):
filters=job_card_time_filter, group_by="parent"):
job_card_time_details[job_card_data.parent] = job_card_data
res = []

2
erpnext/stock/report/process_loss_report/process_loss_report.py

@ -111,7 +111,7 @@ def run_query(query_args: QueryArgs) -> Data:
{work_order_filter}
GROUP BY
se.work_order
""".format(**query_args), query_args, as_dict=1, debug=1)
""".format(**query_args), query_args, as_dict=1)
def update_data_with_total_pl_value(data: Data) -> None:
for row in data:

Loading…
Cancel
Save