Commit graph

367 commits

Author SHA1 Message Date
Hussain Nagaria
d849de25f8 chore(ux): rearrange Letter Head form 2026-05-02 10:40:01 +05:30
Ejaaz Khan
94120badd5
Merge pull request #38846 from Shllokkk/letter-head-fix
feat: add custom_css field in letterhead
2026-04-27 23:57:37 +05:30
Shllokkk
006d0e1754 fix: minor suggested fixes 2026-04-24 13:20:47 +05:30
devdiogenes
984ebe5ae7 fix: Make Edit Section title translatable in Print format Builder 2026-04-23 19:47:39 +00:00
Shllokkk
0ab6840d1d feat(letterhead): introduce custom_css field to move styling out of html fields and to prevent scripts in html fields 2026-04-23 16:19:22 +05:30
Shllokkk
44b5228598
feat: introduce standard and letter_head_for fields in letter head doctype (#38417)
* feat: introduce standard and letter_head_for fields in letter head doctype

* feat: introduce a module link field to letterhead doctype to support json creation

* feat: make Letter Head importable via sync

* test(Letter Head): fix the test_auto_image test case for letter head doctype

* fix: make module field depend on standard field value

* feat: introduce letter heads for standard reports

* fix: letter heads for non-standard reports

* fix: letter_head validation in report and letter head doctype edit access based on users

* fix: correct validation for standard letter head creation
2026-04-17 12:34:33 +05:30
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
Shllokkk
f265da9caa fix: allow standard print formats for reports 2026-03-27 00:25:57 +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
khushi8112
ae12ea072a chore: linters check 2026-02-25 23:52:25 +05:30
khushi8112
15313e8747 fix(UI): specify px unit to image height and width labels 2026-02-25 23:45:08 +05:30
mergify[bot]
0055eb186d
Merge branch 'develop' into pdf-generator-issue 2026-02-25 06:14:38 +00:00
Suraj Shetty
c2a4469e27
Merge pull request #37479 from khushi8112/letterhead-style-sanitization 2026-02-25 11:20:20 +05:30
Shrihari Mahabal
4beff9e1c6 fix: remove is_wkhtmltopdf_valid check when pdf generator is set to chrome 2026-02-25 09:59:59 +05:30
khushi8112
7bac6f06d8 fix: ignore xss filter for letterhead html field 2026-02-24 20:57:48 +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
Shllokkk
b7678c8d39
fix: inconsistent mandatory constraint on html field during creation … (#36893)
* fix: inconsistent mandatory constraint on html field during creation of a new print format

* fix: add mandatory_depends_on for the raw commands field
2026-02-17 11:52:37 +05:30
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
Vishnu Priya Baskaran
66f1491c9d
fix: clear defaults in on_trash (#35508) 2025-12-30 15:24:53 +05:30
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
9c747bd363
Merge pull request #34000 from diptanilsaha/report_jinja_print_format
fix: print format for reports
2025-09-17 10:45:01 +05:30
Ejaaz Khan
6704277232 refactor: add in_install flag condition in default values 2025-09-17 00:45:20 +05:30
diptanilsaha
28a13ce58a fix: print format for reports 2025-09-16 11:59:38 +05:30
Ejaaz Khan
48c3337e91 fix: dont set default value on migrate 2025-09-15 13:01:09 +00:00