Commit graph

205 commits

Author SHA1 Message Date
gavin
e1ec5ec964
Merge pull request #15458 from gavindsouza/print-format-rename
fix: Rename Property Setter on Print Format Rename
2021-12-27 15:48:05 +05:30
Gavin D'souza
7a68d797e9 fix: Rename Property Setter on Print Format Rename
This fixes the default print format set when Custom Print Formats are
renamed
2021-12-27 15:02:52 +05:30
karthikeyan5
a1c9282368 fix: update refresh lable in print view 2021-12-24 20:35:17 +05:30
karthikeyan5
dd731903bd fix(print page): addtional menu in mobile view 2021-12-24 10:04:42 +05:30
Jannat Patel
945084e195 fix: include name field and onboarding for print format, report 2021-11-24 19:18:27 +05:30
Jannat Patel
962b8882d2 Merge branch 'letter-head-tour' of https://github.com/pateljannat/frappe into customizations-onboarding 2021-11-24 11:58:25 +05:30
Jannat Patel
aede12d8b7 feat: letter head tour 2021-11-23 10:05:22 +05:30
Rohan Bansal
c5464e2c5a fix: requested changes 2021-11-04 14:50:37 +05:30
Rohan Bansal
64c18a3187 feat: allow more print page size options 2021-10-26 17:04:41 +05:30
Faris Ansari
c679c08675 fix: lru_cache decorator usage 2021-10-22 12:04:27 +05:30
Suraj Shetty
d88bd035d0
refactor: Use LRU cache instead of redis cache 2021-10-22 09:29:15 +05:30
Faris Ansari
239ec49612 style: formatting 2021-10-20 19:06:16 +05:30
Faris Ansari
5345d4ce7b Merge branch 'develop' of https://github.com/frappe/frappe into print-format-builder-beta 2021-10-20 18:40:18 +05:30
Faris Ansari
18b3651b46 feat: Google font selection
google_fonts.json with a decent selection of fonts
2021-10-20 17:20:59 +05:30
Faris Ansari
a90937c865 fix: customize button in print 2021-10-19 19:12:54 +05:30
Faris Ansari
76b5ee8b9e feat: Field Templates
- standard field templates for rendering custom templates for fields for e.g., taxes in invoice
- ability to create user defined reusable templates that show up in print format builder
2021-10-19 19:12:15 +05:30
Suraj Shetty
d47f23dd3a fix(Print): Select button alignment issue 2021-10-19 18:43:44 +05:30
Faris Ansari
c31bf0aadc fix: Page number
- simpler configuration
- remove arbitrary margin text configuration
2021-10-19 15:45:40 +05:30
Suraj Shetty
22ffe27217 fix: Permission check for default print format 2021-10-14 11:00:46 +05:30
Anupam
f6e83dbcaf fix: Customize is not listed in menu item [Print] 2021-10-12 12:35:40 +05:30
Anupam
5387e48a59 fix: network printer settings permission issue 2021-10-07 12:11:29 +05:30
Anupam
34ba19a131 fix: browser printing broken 2021-10-07 10:27:47 +05:30
Faris Ansari
d8457a3c71 fix: Show print preview on print page 2021-10-05 14:21:57 +05:30
Faris Ansari
4bdacf7d81 feat: Better Letterhead editing
- Image resize and align
2021-10-03 14:42:45 +05:30
Anupam
f10d2251e1 fix: sider issue 2021-09-27 10:21:19 +05:30
Anupam
06667968ab fix: error message 2021-09-27 10:21:19 +05:30
Anupam
3f0df6946e fix: error message 2021-09-27 10:21:19 +05:30
Anupam
2bd2ee3655 fix: sider issues 2021-09-27 10:21:19 +05:30
Anupam
cfe4dc41c0 review changes 2021-09-27 10:21:19 +05:30
Anupam
be2abdbc56 fix: removing print statements 2021-09-27 10:21:19 +05:30
Anupam
55bd04f91b fix: sider issues 2021-09-27 10:21:19 +05:30
Anupam
ec938c960e feat: provision to add multiple network printers 2021-09-27 10:21:19 +05:30
Suraj Shetty
1cd20c04a7 Merge branch 'develop' of https://github.com/frappe/frappe into form-tab-break 2021-09-16 13:00:07 +05:30
Faris Ansari
f4bd62c010 feat: More features
- Letterhead editing
- Edit Header and Footer
- Margin Text
- PrintFormatGenerator class handles generation of HTML and PDF and repeating of Header/Footer
- Simplify /printpreview
- Separate renderer files for each fieldtype
2021-09-15 18:50:41 +05:30
Faris Ansari
432378c06f fix: misc
- show "Not Saved" when dirty
- Toggle Preview only when format is saved
- save a new format on first load
2021-09-07 10:46:52 +05:30
Faris Ansari
dd03ce8053 fix: Ability to set font via Google Font 2021-09-07 10:45:09 +05:30
leela
3594890eb2 fix: customizing print formats
Currently system managers can only customize the print formats even though
the other roles has a permissions to do so. Fixed it to show
customize button based on permissions.

(cherry picked from commit f9486fce5fb24402fce31e3d36370120c4524a9b)
2021-09-07 01:16:16 +00:00
Faris Ansari
7db68a1878 fix: Handle on_page_show 2021-09-06 16:57:39 +05:30
Faris Ansari
0928c4c172 feat: Use weasyprint to generate PDF
- /printpreview route to preview HTML template
2021-09-06 16:57:37 +05:30
Faris Ansari
f536a1ff91 fix: More features
- Show selection dialog if Print Format not selected
- Field component
- Common store
- Edit Field label inline
- Configure table columns
- Edit Custom HTML
- Preview
2021-09-06 16:57:16 +05:30
Faris Ansari
b8fbed0f66 feat: New Print Format Builder
- Print Format Builder Beta page
- Add margin fields in Print Format
- Using vuedraggable for drag and drop
2021-09-06 16:56:00 +05:30
Suraj Shetty
ed806c2c74 Merge branch 'develop' of https://github.com/frappe/frappe into form-tab-break 2021-09-04 15:37:58 +05:30
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Suraj Shetty
63e45dbb1b Merge branch 'develop' of https://github.com/frappe/frappe into form-tab-break 2021-07-27 10:36:28 +05:30
Suraj Shetty
5bea9dbdb7
Merge branch 'develop' into auto-generate-rtl-style 2021-07-12 09:26:55 +05:30
Mohammad Hasnain Mohsin Rajan
b5d9de1fc4
fix: Option to pass any value for limit from client-side (#13452)
* add unlimited support to frappe.db.get_list - js

* fix: use 0 for getting all components in get_list

* fix: use autocomplete instead of select for letterheads

* fix: linting

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* chore: linting

* fix: add placeholder to autocomplete

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-07-05 14:33:19 +00:00
Suraj Shetty
6960a19208 fix: RTL for print views 2021-06-28 12:03:31 +05:30
Suraj Shetty
2463f3a237
Merge branch 'develop' into form-tab-break 2021-06-17 20:48:27 +05:30
Suraj Shetty
2d8c6c1710 Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website 2021-06-03 11:43:28 +05:30
Gavin D'souza
e407b78506 chore: Drop dead and deprecated code
* Remove six for PY2 compatability since our dependencies are not, PY2
  is legacy.
* Removed usages of utils from future/past libraries since they are
  deprecated. This includes 'from __future__ ...' and 'from past...'
  statements.
* Removed compatibility imports for PY2, switched from six imports to
  standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
  versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
2021-05-26 15:31:29 +05:30