Commit graph

54489 commits

Author SHA1 Message Date
dataCenter430
c5349c4ec0
Merge pull request #37720 from consolidated-bulk-print-from-list-view
Consolidated bulk print from list view
2026-03-02 16:29:57 -05:00
dataCenter430
3d8107ff17 chore: apply pre-commit formatting for consolidated print 2026-03-02 22:19:15 +01:00
dataCenter430
59f12a1ac4 feat: add Consolidated Print action to list view
Wires the new /consolidated_printview backend route into the List View
bulk-actions menu so users can print selected records as one continuous
layout without page breaks between them.

- BulkOperations.consolidated_print() validates docs against the same
  draft/cancelled print-settings rules as the existing print(), enforces
  a 100-document limit, and opens a dialog to pick Letter Head and Print
  Format before launching the consolidated print window
- bulk_consolidated_printing() action added to list_view.js and
  registered immediately after the existing "Print" entry, gated by the
  same frappe.model.can_print() permission check

Made-with: Cursor
2026-03-02 21:45:14 +01:00
dataCenter430
101983c7af feat: add consolidated print backend route
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
2026-03-02 21:45:07 +01:00
dataCenter430
4e7b19a00e
Merge pull request #37714 from fix-graphic-label-translation-issue
fix: graphic label translation issue completely
2026-03-02 14:25:58 -05:00
Ejaaz Khan
f86fe795b6
Merge pull request #37713 from iamejaaz/37464-default-pdf-issue 2026-03-02 20:39:06 +05:30
Ejaaz Khan
8028890137 feat: use chrome from system/docker file 2026-03-02 20:26:23 +05:30
Ejaaz Khan
74d9dc36a0
Merge pull request #37711 from iamejaaz/37464-default-pdf-issue
fix(print): select generator from print setting
2026-03-02 19:48:47 +05:30
Ejaaz Khan
bf7d3f95da
Merge pull request #37709 from frappe/revert-37189-fix-report-pdf-layout
Revert "fix(pdf): removal of header and footer margins"
2026-03-02 19:39:25 +05:30
Ejaaz Khan
4a97ad58e6 fix(print): select generator from print setting 2026-03-02 19:36:46 +05:30
Ejaaz Khan
c7ac52a71e
Revert "fix(pdf): removal of header and footer margins" 2026-03-02 19:29:36 +05:30
Suraj Shetty
662781ab73
Merge pull request #37470 from krantheman/fix-number-card 2026-03-02 14:41:33 +05:30
Kerolles Fathy
cfc2007f65
fix: allow dangerous HTML in link exists exception (#37677)
* fix: allow dangerous HTML in link exists exception

* fix: Allow `a` tags

* Revert "fix: allow dangerous HTML in link exists exception"

This reverts commit 9a37f5092ed6c27ff6a0c427df6494561e971ac3.

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2026-03-02 09:00:43 +00:00
Ejaaz Khan
a1977920c8
Merge pull request #37701 from wfhp/wfhp-fix-hamburger-button
fix: hamburger menu stops opening sidebar after navigating on mobile
2026-03-02 13:45:32 +05:30
Michael Weisser
b110c0b8fd
feat: Persistent Announcement Widget and Color Customization (#36768)
Co-authored-by: Michael Weißer <michael.weisser@rindenmuehle.de>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2026-03-02 07:53:06 +00:00
WFHP
c3b339d997
fix: hamburger menu stops opening sidebar after navigating on mobile
[setup_main_sidebar_toggle()](cci:1://file:///workspace/development/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/page.js:243:1-249:2) uses a global jQuery selector to bind
click handlers to `.sidebar-toggle-btn.navbar-brand`, but is called
from each Page constructor. Since Pages from different view factories
(Workspaces, Form, List, etc.) coexist in the DOM, each new Page
creation adds duplicate handlers to all existing hamburger buttons.

When a button accumulates an even number of handlers, [toggle_width()](cci:1://file:///workspace/development/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/sidebar/sidebar_header.js:337:1-348:2)
fires an even number of times — open() and close() cancel each other
out, and the sidebar drawer appears unresponsive.

Scope the selector to `this.wrapper.find()` so each Page only binds
to its own hamburger button.
2026-03-02 15:46:43 +08:00
Safwan
fcc672315f
fix: make percent precision dynamic (#37523) 2026-03-02 11:46:06 +05:30
Kerolles Fathy
26dddcb9d8
fix(webform): respect context banner_image (#37688) 2026-03-02 11:05:40 +05:30
Akhil Narang
34db776bc5
Merge pull request #37668 from UmakanthKaspa/fix-oauth-disabled-user
fix: reject OAuth tokens for disabled users
2026-03-02 10:52:20 +05:30
MochaMind
5d6ed3f230
chore: update POT file (#37686) 2026-03-02 05:21:58 +00:00
Akhil Narang
09b4db4d76
Merge pull request #37689 from frappe/dependabot/pip/pypdf-6.7.4
chore(deps): bump pypdf from 6.7.3 to 6.7.4
2026-03-02 10:42:06 +05:30
dependabot[bot]
47d98884b3
chore(deps): bump pypdf from 6.7.3 to 6.7.4
Bumps [pypdf](https://github.com/py-pdf/pypdf) from 6.7.3 to 6.7.4.
- [Release notes](https://github.com/py-pdf/pypdf/releases)
- [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/py-pdf/pypdf/compare/6.7.3...6.7.4)

---
updated-dependencies:
- dependency-name: pypdf
  dependency-version: 6.7.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 01:34:42 +00:00
Sagar Vora
9a7424e52c
Merge pull request #37680 from sagarvora/fix-grid-issue
fix: regression in grid button hiding logic
2026-03-01 10:14:38 +05:30
Sagar Vora
e4dad7323b fix: regression in grid button hiding logic 2026-03-01 10:05:09 +05:30
MochaMind
911f5f9e42
fix: sync translations from crowdin (#37679) 2026-03-01 08:18:29 +05:30
Ejaaz Khan
a91d803c28
Merge pull request #37179 from shubhdoshi21/workflow-non-submittable-allowed-fix
fix: validate `doc_status` for non-submittable doctypes in workflow
2026-02-28 23:32:50 +05:30
Suraj Shetty
6f25abe8a1
Merge pull request #37665 from frappe/l10n_develop 2026-02-28 08:09:21 +05:30
MochaMind
af4922344d fix: Swedish translations 2026-02-28 05:20:30 +05:30
UmakanthKaspa
d675d05010 fix: reject OAuth tokens for disabled users 2026-02-27 16:03:04 +00:00
dataCenter430
9556b09543 fix: graphic label translation issue 2026-02-27 15:31:09 +01:00
Shubh Doshi
1358b10fdf refactor: update affected_states list with has_affected_states boolean 2026-02-27 18:46:22 +05:30
Aarol D'Souza
3c027bdc58
fix: escape avatar image (#37633) 2026-02-27 17:11:14 +05:30
Safwan
05854a5803
fix: rename autoincrement sequence on doctype rename (#37578)
* fix: rename sequence on doctype rename

* fix: only rename sequence for autoincrement doctypes
2026-02-27 17:08:30 +05:30
Aditya Patil
d7f7618039
fix: stale report indicator (#37647)
* fix: stale report indicator that is not specific to prepared report

* fix: some padding left

* fix: for prepared report, check should happen on refresh too
2026-02-27 17:07:22 +05:30
ruthra kumar
d43ff42a3b
Merge pull request #37654 from ruthra-kumar/support_failfast_in_parallel_testrunner
refactor: support failfast on parallel test runner
2026-02-27 16:26:03 +05:30
ruthra kumar
8aa7de9897 refactor: support failfast on parallel test runner 2026-02-27 16:13:09 +05:30
Shubh Doshi
9c663fcdf0 refactor: update prompt message 2026-02-27 15:34:18 +05:30
Suraj Shetty
3677c9e9c2
Merge branch 'develop' into fix-number-card 2026-02-27 14:49:00 +05:30
Ejaaz Khan
90d79c9b1d
Merge pull request #37648 from iamejaaz/grid-fixes
fix(grid): add background color to actions button
2026-02-27 14:36:09 +05:30
Ejaaz Khan
48c096adc8 fix(grid): add background color to actions button 2026-02-27 14:32:17 +05:30
Ejaaz Khan
f81b778e6b
Merge pull request #37546 from frappe/27880-child-table-titles-not-translating-in-notifications-with-custom-print-templates
fix: Add translation for labels in print format templates
2026-02-27 13:46:28 +05:30
Soham Kulkarni
cc6c047961
Merge pull request #37641 from sokumon/chat-popup 2026-02-27 13:44:32 +05:30
sokumon
a91d65a679 fix: don't show chat widget on weekends 2026-02-27 13:09:26 +05:30
mergify[bot]
e32d5e0e3f
Merge branch 'develop' into 27880-child-table-titles-not-translating-in-notifications-with-custom-print-templates 2026-02-27 06:23:48 +00:00
Ejaaz Khan
32b79fd9eb
Merge pull request #37582 from krantheman/fix-number-card-currency-field-aggregation
fix(Number Card): remove restriction on Currency based aggregation
2026-02-27 11:38:59 +05:30
Ejaaz Khan
0e4338c0e5
Merge pull request #37584 from Vibhuti410/fix-grid-row-flex-alignment
fix: prevent red validation border from disappearing in editable grid rows
2026-02-27 11:36:32 +05:30
Ejaaz Khan
e268363411
Merge pull request #37027 from UmakanthKaspa/fix/dynamic-filters-dialog-prepopulate
fix: pre-populate existing values in dynamic filters dialog
2026-02-27 11:35:13 +05:30
Akhil Narang
b82f45ffa3
Merge pull request #37447 from skabdulM/fix-child-relink-attachments
fix: child relink attachments
2026-02-27 11:06:25 +05:30
Suraj Shetty
9e4165b3df
Merge pull request #37631 from frappe/dependabot/npm_and_yarn/minimatch-3.1.5 2026-02-27 08:46:53 +05:30
dependabot[bot]
b9b9687f55
chore(deps): bump minimatch from 3.1.3 to 3.1.5
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.1.3 to 3.1.5.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.3...v3.1.5)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-27 03:06:48 +00:00