feat: Add Report boilerplate

This commit is contained in:
Hussain Nagaria 2021-03-30 12:19:16 +05:30
parent ba76f87e44
commit b7f2ba1556
4 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,9 @@
// Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors
// For license information, please see license.txt
/* eslint-disable */
frappe.query_reports["Employee Hours Utilisation Based On Timesheet"] = {
"filters": [
]
};

View File

@ -0,0 +1,22 @@
{
"add_total_row": 0,
"columns": [],
"creation": "2021-03-30 12:18:02.090630",
"disable_prepared_report": 0,
"disabled": 0,
"docstatus": 0,
"doctype": "Report",
"filters": [],
"idx": 0,
"is_standard": "Yes",
"modified": "2021-03-30 12:18:02.090630",
"modified_by": "Administrator",
"module": "Projects",
"name": "Employee Hours Utilisation Based On Timesheet",
"owner": "Administrator",
"prepared_report": 0,
"ref_doctype": "Timesheet",
"report_name": "Employee Hours Utilisation Based On Timesheet",
"report_type": "Script Report",
"roles": []
}

View File

@ -0,0 +1,9 @@
# Copyright (c) 2013, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
# import frappe
def execute(filters=None):
columns, data = [], []
return columns, data