From 3d8107ff17ac224cd47de2e570e204d9de262a2f Mon Sep 17 00:00:00 2001 From: dataCenter430 Date: Mon, 2 Mar 2026 22:19:15 +0100 Subject: [PATCH] chore: apply pre-commit formatting for consolidated print --- frappe/public/js/frappe/list/bulk_operations.js | 8 ++++++-- frappe/www/consolidated_printview.py | 4 +--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/frappe/public/js/frappe/list/bulk_operations.js b/frappe/public/js/frappe/list/bulk_operations.js index f6731edde9..4eeeb52367 100644 --- a/frappe/public/js/frappe/list/bulk_operations.js +++ b/frappe/public/js/frappe/list/bulk_operations.js @@ -200,7 +200,9 @@ export default class BulkOperations { if (valid_docs.length > MAX_CONSOLIDATED_LIMIT) { frappe.msgprint( - __("You can only consolidate up to {0} documents at a time", [MAX_CONSOLIDATED_LIMIT]) + __("You can only consolidate up to {0} documents at a time", [ + MAX_CONSOLIDATED_LIMIT, + ]) ); return; } @@ -210,7 +212,9 @@ export default class BulkOperations { fields: [ { fieldtype: "HTML", - options: `

${__("All selected documents will be rendered in a single continuous layout without page breaks between them.")}

`, + options: `

${__( + "All selected documents will be rendered in a single continuous layout without page breaks between them." + )}

`, }, { fieldtype: "Select", diff --git a/frappe/www/consolidated_printview.py b/frappe/www/consolidated_printview.py index 9683f6d840..85d84fb1cd 100644 --- a/frappe/www/consolidated_printview.py +++ b/frappe/www/consolidated_printview.py @@ -77,9 +77,7 @@ def get_context(context): ) separator = '' - body = separator.join( - f'
{html}
' for html in all_html_parts - ) + body = separator.join(f'
{html}
' for html in all_html_parts) if trigger_print: body += trigger_print_script