Skip to content

Commit e8c5d57

Browse files
diptanilsahamergify[bot]
authored andcommitted
fix: fiscal year notification subject
(cherry picked from commit 3e87059)
1 parent 785773b commit e8c5d57

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

erpnext/accounts/notification/notification_for_new_fiscal_year/notification_for_new_fiscal_year.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"message": "<h4>{{ _(\"New Fiscal Year - {0}\").format(doc.name) }}</h4>\n\n<p>{{ _(\"A new fiscal year has been automatically created.\") }}</p>\n\n<p>{{ _(\"Fiscal Year Details\") }}</p>\n\n<table style=\"margin-bottom: 1rem; width: 70%\">\n <tr>\n <td style=\"font-weight:bold; width: 40%\">{{ _(\"Year Name\") }}</td>\n <td>{{ doc.name }}</td>\n </tr>\n <tr>\n <td style=\"font-weight:bold; width: 40%\">{{ _(\"Start Date\") }}</td>\n <td>{{ frappe.format_value(doc.year_start_date) }}</td>\n </tr>\n <tr>\n <td style=\"font-weight:bold; width: 40%\">{{ _(\"End Date\") }}</td>\n <td>{{ frappe.format_value(doc.year_end_date) }}</td>\n </tr>\n {% if doc.companies|length > 0 %}\n <tr>\n <td style=\"vertical-align: top; font-weight: bold; width: 40%\" rowspan=\"{{ doc.companies|length }}\">\n {% if doc.companies|length < 2 %}\n {{ _(\"Company\") }}\n {% else %}\n {{ _(\"Companies\") }}\n {% endif %}\n </td>\n <td>{{ doc.companies[0].company }}</td>\n </tr>\n {% for idx in range(1, doc.companies|length) %}\n <tr>\n <td>{{ doc.companies[idx].company }}</td>\n </tr>\n {% endfor %}\n {% endif %}\n</table>\n\n{% if doc.disabled %}\n<p>{{ _(\"The fiscal year has been automatically created in a Disabled state to maintain consistency with the previous fiscal year's status.\") }}</p>\n{% endif %}\n\n<p>{{ _(\"Please review the {0} configuration and complete any required financial setup activities.\").format(frappe.utils.get_link_to_form(\"Fiscal Year\", doc.name, frappe.bold(\"Fiscal Year\"))) }}</p>",
1616
"message_type": "HTML",
1717
"minutes_offset": 0,
18-
"modified": "2026-02-21 12:14:54.736795",
18+
"modified": "2026-02-23 17:37:03.755394",
1919
"modified_by": "Administrator",
2020
"module": "Accounts",
2121
"name": "Notification for new fiscal year",
@@ -30,5 +30,5 @@
3030
],
3131
"send_system_notification": 0,
3232
"send_to_all_assignees": 0,
33-
"subject": "{{ _(\"New Fiscal Year {0} - Review Required\").format(doc.name) }}"
33+
"subject": "New Fiscal Year {{ doc.name }} - Review Required"
3434
}

0 commit comments

Comments
 (0)