mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 16:15:02 +00:00
fix(report): Purchase Order Analysis pymysql.err (#44957)
(cherry picked from commit d6980a9493)
Co-authored-by: Vishnu VS <Vishnuviswambaran2002@gmail.com>
This commit is contained in:
@@ -18,11 +18,12 @@ def execute(filters=None):
|
||||
|
||||
columns = get_columns(filters)
|
||||
data = get_data(filters)
|
||||
update_received_amount(data)
|
||||
|
||||
if not data:
|
||||
return [], [], None, []
|
||||
|
||||
update_received_amount(data)
|
||||
|
||||
data, chart_data = prepare_data(data, filters)
|
||||
|
||||
return columns, data, None, chart_data
|
||||
|
||||
Reference in New Issue
Block a user