Commit graph

170 commits

Author SHA1 Message Date
Sagar Vora
2e48c0a85e fix: clean join param when executing reportview.get 2021-10-31 19:20:51 +05:30
Ankush Menat
af4ce8156d
fix: remove mutable defaults (#14597)
* fix: mutable defaults

* fix: missing defaults
2021-10-28 09:36:31 +00:00
Sagar Vora
c560d67a57 fix: remove/update older whitelist calls 2021-10-18 16:47:11 +05:30
Suraj Shetty
ab00980389
refactor: Use f-string
Co-authored-by: gavin <gavin18d@gmail.com>
2021-10-12 12:06:08 +05:30
Suraj Shetty
14ae20bdb8 fix: Push aggregate_on_field to field list
- for proper extraction of child table
2021-10-12 09:54:09 +05:30
Suraj Shetty
60599fe292
Merge branch 'develop' into get-distinct-records-from-backend 2021-09-14 12:11:36 +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
shariquerik
62a6f8f4ab fix: Get unique records from backend for list 2021-08-03 20:35:32 +05:30
Suraj Shetty
ffb020ce0e fix: Make query postgres compatible 2021-07-15 08:37:47 +05:30
Suraj Shetty
e826866503 fix: Tag count query 2021-07-13 14:24:12 +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
a19207c2f1 fix: Pass aggregate_on_doctype to properly create the query 2021-04-20 14:21:25 +05:30
Rucha Mahabal
f12369847b fix: filter condition with '!=' 2021-04-04 16:12:01 +05:30
Suraj Shetty
cf607148a0
Merge pull request #12121 from zerodha/virtual_doctype 2021-04-02 12:43:43 +05:30
leela
566f8ba12a fix: get_count API endpoint
Make get_count work with join queries
2021-04-01 19:23:19 +05:30
Shridhar Patil
361cd935d6
Merge branch 'develop' into virtual_doctype 2021-04-01 09:46:35 +05:30
Rushabh Mehta
375cdea145
Update frappe/desk/reportview.py
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-03-31 10:10:46 +05:30
Rushabh Mehta
337bdc976c fix(reportview): test 2021-03-30 18:35:44 +05:30
Rushabh Mehta
82399ddfba fix(minor): tests 2021-03-30 16:37:53 +05:30
Rushabh Mehta
868228bdea fix(minor): tests 2021-03-30 15:50:47 +05:30
Rushabh Mehta
1aa8adadcb fix(minor): return value in reportview.py 2021-03-30 12:57:15 +05:30
Rushabh Mehta
d959fc7310 fix(minor): tests and linting 2021-03-30 11:52:46 +05:30
Rushabh Mehta
2248c6c410 fix(minor): lockdown frappe.client.get_list 2021-03-30 11:25:40 +05:30
Rushabh Mehta
f1f64772a5 fix(minor): disallow comments in fields 2021-03-30 10:30:20 +05:30
Rushabh Mehta
6d978a1df0 fix(report): move count, aggregation to serverside 2021-03-30 09:47:07 +05:30
Rushabh Mehta
0def97543b fix(minor): handle as fieldnames 2021-03-29 22:22:20 +05:30
Rushabh Mehta
0c995940c1 fix(minor): functions must end with bracket 2021-03-29 22:04:04 +05:30
Rushabh Mehta
511a5ddc4b fix(minor): fieldnames can't have commas 2021-03-29 22:02:21 +05:30
Rushabh Mehta
a2ffea53f2 fix(refactor): lockdown frappe.desk.reportview 2021-03-29 21:44:08 +05:30
Shridhar
1d9a13ca5f Merge branch 'virtual_doctype' of https://github.com/zerodha/frappe into virtual_doctype 2021-02-04 17:49:08 +05:30
Shridhar Patil
0e0e857e1d
Merge branch 'develop' into virtual_doctype 2021-02-02 14:02:32 +05:30
Suraj Shetty
ce379bc200 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2021-01-28 19:56:54 +05:30
Suraj Shetty
6f774d6d0c
fix: Check for fieldlevel permission for report query (#12163)
Co-authored-by: Prssanna Desai <prssud@gmail.com>
2021-01-28 17:14:47 +05:30
Chinmay D. Pai
5830cdbd96
fix: handle case when table does not exist in the database
Signed-off-by: Chinmay D. Pai <chinmay.pai@zerodha.com>
2021-01-11 14:40:24 +05:30
Chinmay D. Pai
66016ea76c
lint: fix spelling in comment
Signed-off-by: Chinmay D. Pai <chinmay.pai@zerodha.com>
2021-01-11 13:15:05 +05:30
Shridhar
d48e470b86
fix: renamed label and field name 2021-01-11 13:13:39 +05:30
Shridhar
1bd0cf72ce
fix: listview throws table not exists error 2021-01-11 13:13:38 +05:30
Shridhar
c7b29100af
feat: virtual doctype
Virtual Doctype's data souurce can be anything a file or a secondary database table or an api
2021-01-11 13:13:37 +05:30
Shridhar
2840146098
fix: renamed label and field name 2020-12-29 10:55:55 +05:30
Shridhar
dc1b4b6b9f
fix: listview throws table not exists error 2020-12-29 10:55:55 +05:30
Shridhar
feed7884e2
feat: virtual doctype
Virtual Doctype's data souurce can be anything a file or a secondary database table or an api
2020-12-29 10:55:54 +05:30
Rushabh Mehta
30a041646c feat(guest-access): Allow Guest to view, edit allowed forms, making way remove web forms 2020-12-10 15:13:51 +05:30
Rucha Mahabal
175c2fdb65
Merge branch 'develop' into fix-duration-control-import-export 2020-09-23 09:39:32 +05:30
Aditya Hase
555c52fc70
fix(db_query): Reject user argument in whitelisted methods 2020-09-07 18:56:24 +05:30
Rucha Mahabal
c92b5d0166 fix: Handle duration fieldtype during export 2020-09-02 15:58:08 +05:30
rohitwaghchaure
796d94cc6d
fix: minor (#9927) 2020-04-13 14:41:11 +00:00
prssanna
6807427383 fix(Report): Remove field from query only if view is Report 2020-02-29 17:31:42 +05:30
Himanshu Warekar
5754ef750b fix: use _user_tags instead of Tag Link 2020-01-05 22:09:20 +05:30
Himanshu
a89c9671ac fix: use distinct for tag filters (#9126) 2019-12-25 07:49:02 +00:00
Himanshu Warekar
698764b89b review changes 2019-12-25 09:57:01 +05:30