Merge pull request #57100 from frappe/mergify/bp/version-16-hotfix/pr-56706

refactor: rename synced to snapshot report (backport #56706)
This commit is contained in:
ruthra kumar
2026-07-13 20:02:49 +05:30
committed by GitHub
9 changed files with 14 additions and 14 deletions

View File

@@ -17,7 +17,7 @@
"generate_csv": 0, "generate_csv": 0,
"idx": 3, "idx": 3,
"is_standard": "Yes", "is_standard": "Yes",
"modified": "2026-06-25 12:03:36.559152", "modified": "2026-07-01 13:37:41.185347",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Accounts Payable", "name": "Accounts Payable",
@@ -40,6 +40,6 @@
"role": "Auditor" "role": "Auditor"
} }
], ],
"synced_report": 0, "snapshot_report": 0,
"timeout": 0 "timeout": 0
} }

View File

@@ -17,7 +17,7 @@
"generate_csv": 0, "generate_csv": 0,
"idx": 5, "idx": 5,
"is_standard": "Yes", "is_standard": "Yes",
"modified": "2026-06-25 12:03:28.812092", "modified": "2026-07-01 13:37:44.167999",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Accounts Receivable", "name": "Accounts Receivable",
@@ -34,6 +34,6 @@
"role": "Accounts User" "role": "Accounts User"
} }
], ],
"synced_report": 0, "snapshot_report": 0,
"timeout": 0 "timeout": 0
} }

View File

@@ -277,7 +277,7 @@ def get_chart_data(filters, chart_columns, asset, liability, equity, currency):
return chart return chart
def execute_synced_report(filters): def execute_snapshot_report(filters):
from frappe.database.duckdb.database import get_latest_sync from frappe.database.duckdb.database import get_latest_sync
if not (conn := get_latest_sync("GL Entry")): if not (conn := get_latest_sync("GL Entry")):

View File

@@ -17,7 +17,7 @@
"generate_csv": 0, "generate_csv": 0,
"idx": 4, "idx": 4,
"is_standard": "Yes", "is_standard": "Yes",
"modified": "2026-06-22 13:38:35.057216", "modified": "2026-07-01 13:36:06.682661",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "General Ledger", "name": "General Ledger",
@@ -37,6 +37,6 @@
"role": "Auditor" "role": "Auditor"
} }
], ],
"synced_report": 0, "snapshot_report": 0,
"timeout": 0 "timeout": 0
} }

View File

@@ -820,7 +820,7 @@ def get_columns(filters):
return columns return columns
def execute_synced_report(filters): def execute_snapshot_report(filters):
from frappe.database.duckdb.database import get_latest_sync from frappe.database.duckdb.database import get_latest_sync
if conn := get_latest_sync("GL Entry"): if conn := get_latest_sync("GL Entry"):

View File

@@ -17,7 +17,7 @@
"generate_csv": 0, "generate_csv": 0,
"idx": 2, "idx": 2,
"is_standard": "Yes", "is_standard": "Yes",
"modified": "2026-06-22 13:38:15.898375", "modified": "2026-07-01 13:36:14.934965",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Profit and Loss Statement", "name": "Profit and Loss Statement",
@@ -37,6 +37,6 @@
"role": "Auditor" "role": "Auditor"
} }
], ],
"synced_report": 0, "snapshot_report": 0,
"timeout": 0 "timeout": 0
} }

View File

@@ -207,7 +207,7 @@ def get_chart_data(filters, chart_columns, income, expense, net_profit_loss, cur
return chart return chart
def execute_synced_report(filters): def execute_snapshot_report(filters):
from frappe.database.duckdb.database import get_latest_sync from frappe.database.duckdb.database import get_latest_sync
if not (conn := get_latest_sync("GL Entry")): if not (conn := get_latest_sync("GL Entry")):

View File

@@ -17,7 +17,7 @@
"generate_csv": 0, "generate_csv": 0,
"idx": 4, "idx": 4,
"is_standard": "Yes", "is_standard": "Yes",
"modified": "2026-06-22 13:38:42.740436", "modified": "2026-07-01 17:32:21.801141",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Trial Balance", "name": "Trial Balance",
@@ -37,6 +37,6 @@
"role": "Auditor" "role": "Auditor"
} }
], ],
"synced_report": 0, "snapshot_report": 0,
"timeout": 0 "timeout": 0
} }

View File

@@ -573,7 +573,7 @@ def hide_group_accounts(data):
return non_group_accounts_data return non_group_accounts_data
def execute_synced_report(filters): def execute_snapshot_report(filters):
from frappe.database.duckdb.database import get_latest_sync from frappe.database.duckdb.database import get_latest_sync
if conn := get_latest_sync("GL Entry"): if conn := get_latest_sync("GL Entry"):