Skip to content

Commit

Permalink
fix: rename report to ICUtility
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanket322 committed Aug 7, 2024
1 parent fb9bae3 commit 1417999
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ frappe.ui.form.on("Purchase Reconciliation Tool", {
method: "frappe.core.doctype.prepared_report.prepared_report.get_reports_in_queued_state",
args: {
filters: filetrs_to_pass,
report_name: "Purchase Reconciliation Tool",
report_name: "ICUtility",
},
});
if (message.length) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ def generate_reconciliation_data(self, force_update=False):

def reconcile(self, force_update=False):
doc_name = get_completed_prepared_report(
self.get_reco_doc(), frappe.session.user, "Purchase Reconciliation Tool"
self.get_reco_doc(), frappe.session.user, "ICUtility"
)
if doc_name and not force_update:
self.attachment_data(doc_name)
else:
make_prepared_report("Purchase Reconciliation Tool", self.get_reco_doc())
make_prepared_report("ICUtility", self.get_reco_doc())

@frappe.whitelist()
def attachment_data(self, name):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2024, Resilient Tech and contributors
// For license information, please see license.txt

frappe.query_reports["Purchase Reconciliation Tool"] = {
frappe.query_reports["ICUtility"] = {
"filters": [

]
Expand Down
33 changes: 33 additions & 0 deletions india_compliance/gst_india/report/icutility/icutility.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"add_total_row": 0,
"columns": [],
"creation": "2024-08-07 15:29:53.228497",
"disabled": 0,
"docstatus": 0,
"doctype": "Report",
"filters": [],
"idx": 0,
"is_standard": "Yes",
"letter_head": "",
"letterhead": null,
"modified": "2024-08-07 15:31:18.427400",
"modified_by": "Administrator",
"module": "GST India",
"name": "ICUtility",
"owner": "Administrator",
"prepared_report": 0,
"ref_doctype": "Purchase Reconciliation Tool",
"report_name": "ICUtility",
"report_type": "Script Report",
"roles": [
{
"role": "System Manager"
},
{
"role": "Accounts Manager"
},
{
"role": "Accounts User"
}
]
}

This file was deleted.

0 comments on commit 1417999

Please sign in to comment.