From a2ec597e3d0cfa05ac5d20ef340d7b1df6fa29de Mon Sep 17 00:00:00 2001 From: Nihantra Patel Date: Mon, 20 Apr 2026 16:58:35 +0530 Subject: [PATCH] fix: set letter_head_for for letterhead --- .../voucher_wise_balance/voucher_wise_balance.json | 9 +++++---- .../first_response_time_for_opportunity.json | 12 +++++++----- .../report/downtime_analysis/downtime_analysis.json | 12 +++++++----- .../quality_inspection_summary.json | 12 +++++++----- .../work_order_consumed_materials.json | 10 +++++----- .../work_order_summary/work_order_summary.json | 12 +++++++----- .../timesheet_billing_summary.json | 10 +++++----- erpnext/setup/install.py | 1 + ...fo_queue_vs_qty_after_transaction_comparison.json | 10 +++++----- .../incorrect_serial_and_batch_bundle.json | 7 +++---- .../first_response_time_for_issues.json | 12 +++++++----- 11 files changed, 59 insertions(+), 48 deletions(-) diff --git a/erpnext/accounts/report/voucher_wise_balance/voucher_wise_balance.json b/erpnext/accounts/report/voucher_wise_balance/voucher_wise_balance.json index 434e5a3b257..4d1fc18cde7 100644 --- a/erpnext/accounts/report/voucher_wise_balance/voucher_wise_balance.json +++ b/erpnext/accounts/report/voucher_wise_balance/voucher_wise_balance.json @@ -1,5 +1,6 @@ { "add_total_row": 0, + "add_translate_data": 0, "columns": [], "creation": "2023-06-27 16:40:15.109554", "disabled": 0, @@ -9,8 +10,7 @@ "idx": 0, "is_standard": "Yes", "json": "{}", - "letter_head": "LetterHead", - "modified": "2023-06-27 16:40:32.493725", + "modified": "2026-04-20 16:55:11.962163", "modified_by": "Administrator", "module": "Accounts", "name": "Voucher-wise Balance", @@ -29,5 +29,6 @@ { "role": "Auditor" } - ] -} \ No newline at end of file + ], + "timeout": 0 +} diff --git a/erpnext/crm/report/first_response_time_for_opportunity/first_response_time_for_opportunity.json b/erpnext/crm/report/first_response_time_for_opportunity/first_response_time_for_opportunity.json index 1b3184fe0a2..4d2c8efed25 100644 --- a/erpnext/crm/report/first_response_time_for_opportunity/first_response_time_for_opportunity.json +++ b/erpnext/crm/report/first_response_time_for_opportunity/first_response_time_for_opportunity.json @@ -1,14 +1,15 @@ { "add_total_row": 0, + "add_translate_data": 0, + "columns": [], "creation": "2020-08-10 18:34:19.083872", - "disable_prepared_report": 0, "disabled": 0, "docstatus": 0, "doctype": "Report", + "filters": [], "idx": 0, "is_standard": "Yes", - "letter_head": "Test 2", - "modified": "2020-08-10 18:34:19.083872", + "modified": "2026-04-20 16:55:11.923322", "modified_by": "Administrator", "module": "CRM", "name": "First Response Time for Opportunity", @@ -24,5 +25,6 @@ { "role": "Sales Manager" } - ] -} \ No newline at end of file + ], + "timeout": 0 +} diff --git a/erpnext/manufacturing/report/downtime_analysis/downtime_analysis.json b/erpnext/manufacturing/report/downtime_analysis/downtime_analysis.json index 5edc7781a2e..8cad60146c7 100644 --- a/erpnext/manufacturing/report/downtime_analysis/downtime_analysis.json +++ b/erpnext/manufacturing/report/downtime_analysis/downtime_analysis.json @@ -1,14 +1,15 @@ { "add_total_row": 1, + "add_translate_data": 0, + "columns": [], "creation": "2020-04-20 18:26:04.345289", - "disable_prepared_report": 0, "disabled": 0, "docstatus": 0, "doctype": "Report", + "filters": [], "idx": 0, "is_standard": "Yes", - "letter_head": "Gadgets International", - "modified": "2020-04-20 18:26:04.345289", + "modified": "2026-04-20 16:55:11.891636", "modified_by": "Administrator", "module": "Manufacturing", "name": "Downtime Analysis", @@ -27,5 +28,6 @@ { "role": "Manufacturing Manager" } - ] -} \ No newline at end of file + ], + "timeout": 0 +} diff --git a/erpnext/manufacturing/report/quality_inspection_summary/quality_inspection_summary.json b/erpnext/manufacturing/report/quality_inspection_summary/quality_inspection_summary.json index 48226e6b21d..a443e38fef9 100644 --- a/erpnext/manufacturing/report/quality_inspection_summary/quality_inspection_summary.json +++ b/erpnext/manufacturing/report/quality_inspection_summary/quality_inspection_summary.json @@ -1,15 +1,16 @@ { "add_total_row": 0, + "add_translate_data": 0, + "columns": [], "creation": "2020-04-26 18:23:53.475110", - "disable_prepared_report": 0, "disabled": 0, "docstatus": 0, "doctype": "Report", + "filters": [], "idx": 0, "is_standard": "Yes", "json": "{}", - "letter_head": "Gadgets International", - "modified": "2020-04-26 18:24:50.529940", + "modified": "2026-04-20 16:55:11.903547", "modified_by": "Administrator", "module": "Manufacturing", "name": "Quality Inspection Summary", @@ -28,5 +29,6 @@ { "role": "Stock Manager" } - ] -} \ No newline at end of file + ], + "timeout": 0 +} diff --git a/erpnext/manufacturing/report/work_order_consumed_materials/work_order_consumed_materials.json b/erpnext/manufacturing/report/work_order_consumed_materials/work_order_consumed_materials.json index 2fc986aa36a..d3b7223fcf8 100644 --- a/erpnext/manufacturing/report/work_order_consumed_materials/work_order_consumed_materials.json +++ b/erpnext/manufacturing/report/work_order_consumed_materials/work_order_consumed_materials.json @@ -1,16 +1,15 @@ { "add_total_row": 0, + "add_translate_data": 0, "columns": [], "creation": "2021-11-22 17:36:11.886939", - "disable_prepared_report": 0, "disabled": 0, "docstatus": 0, "doctype": "Report", "filters": [], "idx": 0, "is_standard": "Yes", - "letter_head": "Gadgets International", - "modified": "2021-11-22 17:36:14.999091", + "modified": "2026-04-20 16:55:11.935728", "modified_by": "Administrator", "module": "Manufacturing", "name": "Work Order Consumed Materials", @@ -26,5 +25,6 @@ { "role": "Stock User" } - ] -} \ No newline at end of file + ], + "timeout": 0 +} diff --git a/erpnext/manufacturing/report/work_order_summary/work_order_summary.json b/erpnext/manufacturing/report/work_order_summary/work_order_summary.json index 0d093e22e94..23b11385dd0 100644 --- a/erpnext/manufacturing/report/work_order_summary/work_order_summary.json +++ b/erpnext/manufacturing/report/work_order_summary/work_order_summary.json @@ -1,14 +1,15 @@ { "add_total_row": 0, + "add_translate_data": 0, + "columns": [], "creation": "2020-04-17 17:07:56.830358", - "disable_prepared_report": 0, "disabled": 0, "docstatus": 0, "doctype": "Report", + "filters": [], "idx": 0, "is_standard": "Yes", - "letter_head": "Gadgets International", - "modified": "2020-04-19 16:59:47.979278", + "modified": "2026-04-20 16:55:11.869366", "modified_by": "Administrator", "module": "Manufacturing", "name": "Work Order Summary", @@ -27,5 +28,6 @@ { "role": "Manufacturing Manager" } - ] -} \ No newline at end of file + ], + "timeout": 0 +} diff --git a/erpnext/projects/report/timesheet_billing_summary/timesheet_billing_summary.json b/erpnext/projects/report/timesheet_billing_summary/timesheet_billing_summary.json index 0f070cb4572..4fda23694a9 100644 --- a/erpnext/projects/report/timesheet_billing_summary/timesheet_billing_summary.json +++ b/erpnext/projects/report/timesheet_billing_summary/timesheet_billing_summary.json @@ -1,5 +1,6 @@ { "add_total_row": 1, + "add_translate_data": 0, "columns": [], "creation": "2023-10-10 23:53:43.692067", "disabled": 0, @@ -8,9 +9,7 @@ "filters": [], "idx": 0, "is_standard": "Yes", - "letter_head": "ALYF GmbH", - "letterhead": null, - "modified": "2023-10-11 00:58:30.639078", + "modified": "2026-04-20 16:55:11.807564", "modified_by": "Administrator", "module": "Projects", "name": "Timesheet Billing Summary", @@ -38,5 +37,6 @@ { "role": "Employee Self Service" } - ] -} \ No newline at end of file + ], + "timeout": 0 +} diff --git a/erpnext/setup/install.py b/erpnext/setup/install.py index a45279e994c..91cf7cb6ef4 100644 --- a/erpnext/setup/install.py +++ b/erpnext/setup/install.py @@ -359,6 +359,7 @@ def create_letter_head(): "source": "HTML", "content": content, "is_default": 1 if name == "Company Letterhead - Grey" else 0, + "letter_head_for": "Report", } ) doc.insert(ignore_permissions=True) diff --git a/erpnext/stock/report/fifo_queue_vs_qty_after_transaction_comparison/fifo_queue_vs_qty_after_transaction_comparison.json b/erpnext/stock/report/fifo_queue_vs_qty_after_transaction_comparison/fifo_queue_vs_qty_after_transaction_comparison.json index 5e958aa1b03..40cd72e4b4f 100644 --- a/erpnext/stock/report/fifo_queue_vs_qty_after_transaction_comparison/fifo_queue_vs_qty_after_transaction_comparison.json +++ b/erpnext/stock/report/fifo_queue_vs_qty_after_transaction_comparison/fifo_queue_vs_qty_after_transaction_comparison.json @@ -1,16 +1,15 @@ { "add_total_row": 0, + "add_translate_data": 0, "columns": [], "creation": "2022-05-11 04:09:13.460652", - "disable_prepared_report": 0, "disabled": 0, "docstatus": 0, "doctype": "Report", "filters": [], "idx": 0, "is_standard": "Yes", - "letter_head": "abc", - "modified": "2022-05-11 04:09:20.232177", + "modified": "2026-04-20 16:55:11.950413", "modified_by": "Administrator", "module": "Stock", "name": "FIFO Queue vs Qty After Transaction Comparison", @@ -23,5 +22,6 @@ { "role": "Administrator" } - ] -} \ No newline at end of file + ], + "timeout": 0 +} diff --git a/erpnext/stock/report/incorrect_serial_and_batch_bundle/incorrect_serial_and_batch_bundle.json b/erpnext/stock/report/incorrect_serial_and_batch_bundle/incorrect_serial_and_batch_bundle.json index 0833ab5eb3a..2fa99dbb9e6 100644 --- a/erpnext/stock/report/incorrect_serial_and_batch_bundle/incorrect_serial_and_batch_bundle.json +++ b/erpnext/stock/report/incorrect_serial_and_batch_bundle/incorrect_serial_and_batch_bundle.json @@ -1,5 +1,6 @@ { "add_total_row": 0, + "add_translate_data": 0, "columns": [], "creation": "2025-02-03 15:39:44.521366", "disabled": 0, @@ -9,9 +10,7 @@ "idx": 0, "is_standard": "Yes", "json": "{}", - "letter_head": null, - "letterhead": null, - "modified": "2025-02-03 15:39:47.613040", + "modified": "2026-04-20 16:55:11.972979", "modified_by": "Administrator", "module": "Stock", "name": "Incorrect Serial and Batch Bundle", @@ -53,4 +52,4 @@ } ], "timeout": 0 -} \ No newline at end of file +} diff --git a/erpnext/support/report/first_response_time_for_issues/first_response_time_for_issues.json b/erpnext/support/report/first_response_time_for_issues/first_response_time_for_issues.json index c4fe6f51931..03cf597d585 100644 --- a/erpnext/support/report/first_response_time_for_issues/first_response_time_for_issues.json +++ b/erpnext/support/report/first_response_time_for_issues/first_response_time_for_issues.json @@ -1,14 +1,15 @@ { "add_total_row": 0, + "add_translate_data": 0, + "columns": [], "creation": "2020-08-10 18:12:42.391224", - "disable_prepared_report": 0, "disabled": 0, "docstatus": 0, "doctype": "Report", + "filters": [], "idx": 0, "is_standard": "Yes", - "letter_head": "Test 2", - "modified": "2020-08-10 18:12:42.391224", + "modified": "2026-04-20 16:55:11.913714", "modified_by": "Administrator", "module": "Support", "name": "First Response Time for Issues", @@ -22,5 +23,6 @@ { "role": "Support Team" } - ] -} \ No newline at end of file + ], + "timeout": 0 +}