Commit graph

102 commits

Author SHA1 Message Date
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
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
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
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
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
Corentin Flr
b474e17f89
fix(print-preview): Fix stale ref to iframe's document 2024-01-24 17:18:07 +01:00
Maharshi Patel
0307dd4cca
Merge branch 'develop' into feat-desk-refresh 2023-08-24 23:55:42 +05:30
Maharshi Patel
f6ebdc24f4 fix: update icons to espresso for different pages
updated icons on various parts of the page to espresso
2023-08-24 10:21:37 +05:30
barredterra
b553ed98d8 refactor: inline immediately returned variable
Inline a variable to a return in the case when the
variable being declared is immediately returned
2023-08-08 18:09:49 +02:00
Suraj Shetty
1fd84f6b09 fix: Remove field_id from URL
- scroll to field is not yet supported
2023-05-31 15:42:50 +05:30
Suraj Shetty
a13592a66a fix: Warn users if "Repeat Header and Footer" is disabled
- and if the user still sets Letterhead

Also, add label to the print options
2023-05-31 08:55:59 +05:30
Suraj Shetty
e429101370 fix(print): Language set in document should have higher precedence 2023-03-14 15:13:35 +05:30
Devin Slauenwhite
2223f97f88
fix: print preview when no letterhead is selected (#20286) 2023-03-10 12:10:22 +05:30
barredterra
0d87870ca3 refactor: better, consistent names 2022-12-08 17:01:35 +01:00
barredterra
6069cde624 fix: remove seemingly useless code 2022-12-08 17:00:46 +01:00
barredterra
c8a196f768 fix: use standard format if none is selected 2022-12-08 16:59:29 +01:00
barredterra
5843aae5f6 fix: set default print format 2022-11-13 23:28:05 +01:00
barredterra
42608ac0c1 fix: set default letterhead 2022-11-13 22:57:26 +01:00
barredterra
aefba91139 refactor: use link for Letter Head 2022-11-09 18:06:50 +01:00
barredterra
75299abec8 fix: add placeholder for language 2022-11-09 18:06:26 +01:00
barredterra
9782f937fd refactor: use link for print format 2022-11-09 18:05:44 +01:00