Adds a new WWW page at /consolidated_printview that renders multiple
documents of the same DocType in a single continuous HTML layout with
no forced page breaks between records.
- get_context() iterates over a JSON list of names, renders each doc
via the existing get_rendered_template() pipeline (falls back to
WeasyPrint for beta print-format-builder formats), and joins the
results with a thin visual separator
- Per-document page-break-after is suppressed via CSS override so all
records flow as one uninterrupted printable page
- trigger_print=1 fires window.print() automatically, matching the
behaviour of the existing single-doc /printview route
- Permission and render errors are caught per-document and logged so
one bad record does not abort the whole batch
- Access log entry recorded for auditing (first 10 doc names)
Made-with: Cursor
* fix(contact): force type check in contact whitelisted methods
* fix(google_indexing): force type check in google_indexing whitelisted methods
* fix(assignment_rule): add type checks to assignment_rule whitelisted methods
* refactor: remove unused args
* fix(queue): add type hints to whitelisted methods in queue.py
* fix(auto_email_report): add type hints to whitelisted methods
* fix(dashboard): add type hints to whitelisted methods
* fix(sidebar_item_group): add type hints to whitelisted methods
* fix(weasyprint): add type hints to whitelisted methods
* fix(backups): add type hints to whitelisted methods
* fix(document_naming_settings): add type hints to whitelisted methods
* fix(get_latest_submissions): add type hints to whitelisted methods
* fix(custom_field): add type hints to whitelisted methods
* fix(customize_form): add type hints to whitelisted methods
* fix(personal_data_deletion_request): add type hints to whitelisted functions
* fix(__init__): add type hints to whitelisted methods
* fix(prepared_report): add type hints to whitelisted methods
* fix(session_default_settings): add type hints to whitelisted methods
* fix(document_follow): add type hints to whitelisted methods
* fix(route_history): add type hints to whitelisted methods
* fix(form_tour): add type hints to whitelisted methods
* fix(dashboard_settings): add type hints to whitelisted methods
* fix(address): add type hints to whitelisted methods
* fix(contact): add type hints to whitelisted methods
* fix(discussion_reply): add type hints to whitelisted methods
* fix(auto_repeat): add type hints to whitelisted methods
* fix: add the missing type hints and misc. corrections
* fix(email): add type hints to whitelisted methods
* fix(permitted_documents_for_users): add type hints to whitelisted methods
* fix: correct the type hints
* fix: int PK types
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
* perf: Reduce queries for setup wizard progress
These are queried on boot continuously, can just cache installed app doc.
* fix: remove stray db.commit in csrf generation
* fix!: Remove badly written default portal list views
* fix!: Remove guest permissions from web form list endpoint
* test: cleanly terminate gunicorn
int sometimes ends up leaving socket open