Commit graph

165 commits

Author SHA1 Message Date
devdiogenes
984ebe5ae7 fix: Make Edit Section title translatable in Print format Builder 2026-04-23 19:47:39 +00:00
Ejaaz Khan
435f82a0f4
Merge pull request #37662 from safwansamsudeen/improve-barcode
fix: render barcodes in print view
2026-04-14 19:47:00 +05:30
Nikhil Kothari
1727fcafd3 fix: remove link for Print Designer 2026-03-12 17:43:38 +05:30
KerollesFathy
bb028cbb47 fix: remove "Try New Print Designer" link
Frappe should only nudge users to install Print Designer,
not navigate to it. This link was also triggered under a wrong "disable product suggestions" condition check
2026-03-04 13:24:18 +00:00
Ejaaz Khan
4a97ad58e6 fix(print): select generator from print setting 2026-03-02 19:36:46 +05:30
Safwan Samsudeen
7e739faea7 fix: only render if barcode value is not an svg 2026-02-27 19:43:47 +05:30
Safwan Samsudeen
6e344db222 fix: support options
fix: bundle files
2026-02-27 18:38:58 +05:30
Safwan Samsudeen
97c3ce6408 fix: render barcodes in print view 2026-02-27 17:19:28 +05:30
KerollesFathy
d4e6fea1ce fix: hide print format builder after route change 2026-02-26 14:12:27 +00:00
mergify[bot]
0055eb186d
Merge branch 'develop' into pdf-generator-issue 2026-02-25 06:14:38 +00:00
Shrihari Mahabal
4beff9e1c6 fix: remove is_wkhtmltopdf_valid check when pdf generator is set to chrome 2026-02-25 09:59:59 +05:30
Safwan Samsudeen
7f90bc817f fix: use format's pdf generator in full page 2026-02-24 16:16:43 +05:30
Aarol D'Souza
c55ff193a6
fix: add type hints to whitelisted methods 3 (#37149)
* fix(apps): add type hints to whitelisted methods

* fix(recorder): add type hints to whitelisted methods

* fix(comments): add type hints to whitelisted methods

* fix(oauth2): add type hints to whitelisted methods

* fix(google_calendar): add type hints to whitelisted methods

* fix(print): add type hints to whitelisted methods

* fix(print_format_builder): add type hints to whitelisted methods

* refactor(network_printer_settings): remove unused args

* fix(document): add type hints to whitelisted methods

* fix(user_settings): add type hints to whitelisted methods

* fix(mapper): add type hints to whitelisted methods

* fix(connected_app): add type hints to whitelisted methods

* fix(google_contacts): add type hints to whitelisted methods

* fix(frappecloud_billing): add type hints to whitelisted methods

* test: rewrite test to fit the strict type check

* fix(social_login_key): add type hints to whitelisted methods

* fix(share): add type hints to whitelisted methods

* fix(webhook): add type hints to whitelisted methods

* fix(workflow): add type hints to whitelisted methods

* fix(workflow main): add type hints to whitelisted methods

* fix(workflow_action): add type hints to whitelisted methods

* fix: flexible type hint

* fix(client): add type hints to whitelisted methods

* fix: fix some of the tighter types

* fix(frappecloud_billing): add str typehint to whitelisted endpoint

* fix: target_doc can be dict/json string

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2026-02-20 06:50:19 +00:00
Ejaaz Khan
50121fd81a
Revert "fix: show sidebar in print format builder" 2026-01-25 11:53:54 +05:30
KerollesFathy
df7e007d08 fix: show sidebar in print format builder 2026-01-24 22:14:00 +00:00
circlecrystalin
43a03d4a44 style: apply prettier formatting and remove trailing whitespace 2026-01-20 18:17:40 +01:00
circlecrystalin
65dbc16948 refactor: scope checkbox selection to dialog and extract reusable function
- Scope checkbox selector to .column-selector-list to prevent selecting checkboxes outside the dialog
- Refactor Select All and Unselect All into reusable toggle_all_checkboxes function
- Reduce code duplication and improve maintainability
2026-01-20 18:14:30 +01:00
circlecrystalin
b3b85b9090 refactor: use const instead of var in Select All/Unselect All functions 2026-01-20 13:34:07 +01:00
circlecrystalin
7539c76471 feat: Add Select All/Unselect All option in Select Table Columns dialog 2026-01-20 12:26:06 +01:00
KerollesFathy
bb94d98754 fix: show sidebar when print view is displayed 2026-01-12 23:43:46 +00:00
KerollesFathy
52365e1598 fix: show sidebar in print view 2026-01-12 22:19:20 +00:00
Rahul Agrawal
a046710bd1 fix: rename select field 2026-01-10 11:56:54 +05:30
Rahul Agrawal
08c5d095af fix: use select instead of check 2026-01-10 11:13:42 +05:30
Rahul Agrawal
8649c18125 feat: allow use of chrome pdf generator for standard print format 2026-01-10 10:22:00 +05:30
sokumon
6075e557df fix: load correct sidebar for printview 2026-01-08 09:30:53 +05:30
Packeting
2f62168654 fix: show form button in mobile print view 2026-01-04 11:17:30 +08:00
sokumon
dd2dc053ca chore: more renames to /desk 2025-12-18 20:45:04 +05:30
sokumon
95c275f4bc refactor: setting the correct sidebar 2025-12-17 02:04:37 +05:30
avc
b429b7e35d
fix: use bool properly
Co-authored-by: Ejaaz Khan <67804911+iamejaaz@users.noreply.github.com>
2025-11-24 07:17:25 +01:00
git-avc
fd6be0549d feat: add ability to disable new product suggestion 2025-11-23 13:38:09 +01:00
Ejaaz Khan
fdd464fc14
Merge pull request #34414 from khushi8112/standard-jinja-custom-print-format-edit
feat: redirect to print format doc when type is jinja
2025-10-15 14:19:34 +05:30
khushi8112
587d770c49 refactor: add better name to variable 2025-10-15 12:54:49 +05:30
khushi8112
4b20d236f5 feat: redirect to print format doc when type is jinja 2025-10-15 12:30:35 +05:30
Ejaaz Khan
964dd6c034 feat: Chrome PDF generator
Co-authored-by: maharshivpatel <maharshivpatel@users.noreply.github.com>
2025-09-29 12:15:51 +05:30
Ejaaz Khan
5265d7fb1a fix: multiple call of fucntion 2025-09-05 12:51:33 +05:30
Ejaaz Khan
bbb3a35ffe feat: add shortcut to refresh print preview 2025-09-04 18:17:57 +05:30
maheini
e6d9966514
fix: Add proper html skeleton to preview iframe
This will prevent Quircks compatibility CSS rules from beeing applied, which leads to differences in preview/print-view
2025-06-15 01:57:56 +02:00
Soni Karm
d4ff214a6f
fix: clear print format selector if default print format is absent (#31123) 2025-02-05 06:43:13 +00:00
mahsem
e8698a98de
fix: add strings and fields to translation 2024-12-21 13:17:01 +01:00
Corentin Forler
e97eb26bd1
chore: Use cint instead of unary plus operator 2024-09-26 11:59:18 +02:00
Corentin Forler
1210ab33dc
feat(print_format): Add checkbox to hide label 2024-09-18 10:16:37 +02:00
Rushabh Mehta
0c8b9be47b fix(style): print format 2024-09-10 15:15:15 +05:30
Maharshi Patel
96745b8f46 fix: on load of beta print format set iframe height
there was a edge case where when print format beta was set to default which never ran code which sets the size for container that holds format.
fixed that by make iframe height to 100vh minus navbar and heading on load of beta print format
2024-09-02 11:51:39 +05:30
Maharshi Patel
6a6ded156f
chore: warn if wkhtmltopdf is invalid (#26174)
* chore: warn if wkhtmltopdf is invalid

wkhtmltopdf ( with patched qt ) is required to generate pdfs properly.
when user clicks on PDF, pdf will be generated and downloaded.
however, on print preview page warning will be shown.

* chore: refactor based on review comments

* chore: return False incase of exception

* chore: refactor and better naming

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2024-04-30 10:36:56 +00:00
barredterra
da1e8750c8 refactor: replace in_list(array, member) with array.includes(member) 2024-03-10 16:09:09 +01:00
Maharshi Patel
0e12cf4281
chore: replace PFB Beta link with Print Designer (#25032)
Replaced Print Format Builder Beta link in print-view to Print Designer.
if App is installed it opens Print Designer, if not it opens Frappe Cloud Marketplace Link.
2024-02-23 20:19:08 +05:30
Raffael Meyer
fc64e8a0fb
feat: pass doctype as context when translating label (#24903) 2024-02-18 19:42:15 +05:30
Corentin Flr
b474e17f89
fix(print-preview): Fix stale ref to iframe's document 2024-01-24 17:18:07 +01:00
Ankush Menat
c7e5afee6a refactor: Use arr.includes(item) instead of in_list(arr, item) 2023-12-27 19:33:13 +05:30
Maharshi Patel
6590d24151 fix: dark mode, timeline, logo colors
* changed variables from gray-* to dark mode compatible ones.
* timeline style fixes
* change logo with new black colors.
2023-09-15 12:04:17 +05:30