Write a Python file in the same folder where this is saved and return column and result

when i create new report its shows that Write a Python file in the same folder where this is saved and return column and result. which file i have to modify??

Check Report folder created under GYM Management System app

here It is

1 Like

gym_revenues.py file
Here, code of file

# For license information, please see license.txt

from __future__ import unicode_literals
import frappe

def execute(filters=None):
	columns, data = [], []
	return columns, data

One thing I could observe was you are adding gym management feature to ERPNext itself!
That’s great!
Do send a PR when you feel it is ready
Keep committing to your own fork as you progress in learning and development.

Refer other reports for how columns and data is populated.

e.g.