Commit graph

160 commits

Author SHA1 Message Date
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
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
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
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
Suraj Shetty
51a072bbf8 Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website 2021-05-18 17:02:44 +05:30
Faris Ansari
f8ca990a83 Merge remote-tracking branch 'upstream/develop' into esbuild 2021-05-16 11:26:43 +05:30
Suraj Shetty
9a3d280484 Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website 2021-05-13 14:23:20 +05:30
Suraj Shetty
3c4306c87a refactor: Fix regex to avoid deprecation warnings 2021-05-10 09:18:50 +05:30
Faris Ansari
fa236fd9c5 style: sider issues 2021-05-04 07:21:49 +05:30
Faris Ansari
e72bb135e1 fix: Asset URLs
Helpers to get asset path
Python: frappe.utils.jinja_globals.bundled_asset
JS: frappe.assets.bundled_asset
2021-04-29 14:47:52 +05:30
Faris Ansari
aac5423600 Merge remote-tracking branch 'upstream/develop' into esbuild 2021-04-29 13:58:27 +05:30
Suraj Shetty
3a4497cd13 Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website 2021-04-28 10:11:35 +05:30
Frappe Bot
d30596b15e refactor: Delete Qunit test files
Since it is no longer used
2021-04-27 21:37:15 +05:30
Faris Ansari
34c6d099b1 fix: Update all /assets urls with new urls 2021-04-24 16:24:08 +05:30
Faris Ansari
fe20515c23 refactor: Replace Class.extend with native class 2021-04-23 06:17:47 +05:30
Suraj Shetty
f74b3916b6
Merge branch 'develop' into refactor-website 2021-03-10 11:03:14 +05:30
prssanna
d5980b345f fix: set selected value in print format select 2021-03-02 13:45:34 +05:30
prssanna
297d4c668e fix: print format custom css description 2021-03-02 13:45:09 +05:30
prssanna
724bd72904 fix: render fieldname if no label on print format builder sidebar 2021-03-01 15:07:15 +05:30
prssanna
7865f60cf3 fix: save selected print format 2021-03-01 15:06:21 +05:30
Rushabh Mehta
e79e142061 fix(minor): fix some tests and merge old and new website tests 2021-02-15 17:43:17 +05:30
Suraj Shetty
5af5165218
Merge branch 'develop' into letter-head-disabled-and-default-validation 2021-02-09 22:15:33 +05:30
Prssanna Desai
474f6468bc
Merge pull request #12329 from shariquerik/RTL-print-preview-fix 2021-02-09 15:48:25 +05:30
shariquerik
73f7fff00f fix: fixed sider 2021-02-09 15:18:34 +05:30
shariquerik
b42c3d05cc fix: updated is_rtl function 2021-02-08 12:32:07 +05:30
shariquerik
e992e638f9 fix: Added has_rtl function on client side 2021-02-07 12:42:06 +05:30
prssanna
898922f03e fix: letterhead image doesn't show up in pdf 2021-02-05 11:45:40 +05:30
shariquerik
f180abf66d fix: RTL print preview issue 2021-02-04 19:31:19 +05:30
prssanna
a47b55546b style: fix formatting 2021-01-29 17:01:08 +05:30
prssanna
b95311728a style: fix formatting 2021-01-29 16:34:35 +05:30
Rushabh Mehta
c93368b242 fix(minor): merge develop 2021-01-08 14:35:55 +05:30
pateljannat
10f620572d fix: orm and message 2021-01-07 15:44:27 +05:30
pateljannat
f4dcf5e05e fix: letter head disabled and default validation issues 2021-01-07 15:44:27 +05:30
Rushabh Mehta
54cee87826 fix(minor): tests + routing 2020-12-24 14:48:40 +05:30
prssanna
8b7c976f68 feat: alternate print format column layout 2020-12-14 18:05:02 +05:30
prssanna
f1a38ab8ed fix: fix new print style 2020-12-14 18:01:08 +05:30
Saqib Ansari
9e4e36041a fix: toggling of show absolute values checkbox 2020-12-14 11:48:10 +05:30
Saqib Ansari
881c426296 fix: typo 2020-12-14 11:39:21 +05:30
Suraj Shetty
25dc9ee222 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2020-12-11 13:02:36 +05:30
Saqib Ansari
0651341bf8 feat: show absolute value checkbox if doctype has appropriate fields 2020-12-10 20:01:06 +05:30
Saqib Ansari
3296097df6 feat: show absolute value in print format 2020-11-30 15:46:29 +05:30
prssanna
a4d8161a87 fix: print pdf fixes 2020-11-24 12:29:27 +05:30
prssanna
ee472aa3e7 fix: print format builder drag handle 2020-11-23 17:09:29 +05:30
prssanna
0f456840eb fix: print format builder style 2020-11-23 16:55:01 +05:30
prssanna
95b9c07d12 fix: replace css variables in new print style 2020-11-23 16:28:52 +05:30
prssanna
986118ae2f fix: set print iframe height after timeout 2020-11-23 12:30:50 +05:30
prssanna
d885a3af74 fix: print route options check 2020-11-17 13:15:30 +05:30