Commit graph

1225 commits

Author SHA1 Message Date
Gavin D'souza
5255513fff fix: merge documents without error 2019-10-27 18:52:37 +05:30
Faris Ansari
f8507dec01
Merge pull request #8665 from adityahase/faster-desk-2
perf(desk): Faster desk
2019-10-23 23:28:18 +05:30
Aditya Hase
10bd8012ce
perf(orm): Use cached table_columns instead of querying the database 2019-10-23 23:00:02 +05:30
Himanshu Warekar
604b659353 fix: check for old and new names 2019-10-23 22:26:45 +05:30
Himanshu Warekar
31cef1ac5b fix: arguments not passed 2019-10-23 22:26:32 +05:30
Faris Ansari
3bd80c3cd3 fix: tests 2019-10-21 19:16:38 +05:30
mergify[bot]
19e8862be3
Merge pull request #8559 from gavindsouza/rename-form
feat: rename docname and title via header
2019-10-21 12:29:25 +00:00
Faris Ansari
83225791d8 fix: cleanup 2019-10-21 16:15:39 +05:30
mergify[bot]
e273ffeaf4
Merge pull request #8550 from rmehta/server-script
feat(server scripts): add server scripts!
2019-10-21 09:10:09 +00:00
Shivam Mishra
004ae86cd7 fix: remove bad disabled check 2019-10-15 19:28:53 +05:30
Gavin D'souza
12d1d5a649 fix: shifted tasks to server-side via frappe.call 2019-10-15 00:16:18 +05:30
Rushabh Mehta
6d6f575904 feat(server scripts): add server scripts! 2019-10-11 14:16:49 +05:30
deepeshgarg007
5787ea3c5a fix: Provision to ignore disabled link validations in a doctype 2019-10-09 13:02:53 +05:30
Suraj Shetty
86263e05f4 perf: Cache db columns to avoid redundant database calls (#8543)
* perf: Cache db columns to avoid redundant database calls

* fix: Move cache clearing code from doctype to schema.py

* fix: self.table_name instead of self.name

* fix: Cache columns in  "table_columns" key

`table_columns` was cached in meta but columns were also getting accessed
directly using frappe.db.get_table_columns. Now, it is cached at
`frappe.db` layer

Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2019-10-07 13:39:40 +00:00
Gavin D'souza
6c9adf95a3 fix: rename docname and title 2019-10-07 16:01:39 +05:30
Himanshu Warekar
13321ec5f4 chore: rename global_tags to tags 2019-10-05 09:57:43 +05:30
Himanshu Warekar
02cebdd7d3 fix: use frappe.tags 2019-10-03 16:43:36 +05:30
Himanshu Warekar
c0a5ad1456 Merge branch 'develop' of https://github.com/frappe/frappe into global_tags 2019-10-03 12:30:53 +05:30
Bob Schulze
14222cb078 handle case that df is None for this branch too (#8529) 2019-10-03 06:17:34 +00:00
Himanshu Warekar
c01eadcac0 Merge branch 'develop' of https://github.com/frappe/frappe into global_tags 2019-09-30 13:59:28 +05:30
Faris Ansari
fbfa078147 fix: as_dict
- convert_dates_to_str should work for non df fields
2019-09-29 22:41:29 +05:30
marination
56bdbaadc6 fix: (User Permissions) Allow user to fetch details into mapped doc
Check if apply strict user permissions is enabled
Accordingly restrict user permission
2019-09-27 15:57:08 +05:30
Himanshu Warekar
c7b4df919e Merge branch 'develop' of https://github.com/frappe/frappe into global_tags 2019-09-25 22:16:16 +05:30
mergify[bot]
c0844f2297
Merge pull request #8479 from surajshetty3416/energy-points-based-on-assignments
feat: Energy Points for assigned users on a document
2019-09-24 06:03:07 +00:00
gavin
436d35668d fix: dont check for disabled in case of import/migrate (#8482) 2019-09-24 10:10:49 +05:30
Suraj Shetty
29bcdf1fa3 style: Fix indentation 2019-09-24 09:46:20 +05:30
Suraj Shetty
6ea039277f Merge branch 'develop' of https://github.com/frappe/frappe into energy-points-based-on-assignments 2019-09-24 09:42:53 +05:30
Himanshu Warekar
f6d1ce2194 feat: Global Tags 2019-09-24 01:03:11 +05:30
deepeshgarg007
d3e7c54245 fix: Validation for disabled link fields 2019-09-22 13:50:58 +05:30
mergify[bot]
834233bed2
Merge pull request #8445 from netchampfaris/revert-delete-controller-files
fix: Dont delete controller files on doctype delete
2019-09-20 12:15:39 +00:00
Faris Ansari
76bfa7ccff fix: Dont delete controllers in for_reload 2019-09-20 16:44:44 +05:30
Rucha Mahabal
20ea14efe4 fix(Report View): Error on setting Is Set filter for date fields 2019-09-19 20:41:56 +05:30
Suraj Shetty
ac1c242a14 feat: Energy Points for assigned users on a document 2019-09-19 17:55:34 +05:30
Faris Ansari
c8a80a2e4d fix: frappe.db.field_exists
- field_exists didn't work correctly
- The call to field_exists itself was wrong
2019-09-19 15:41:17 +05:30
Suraj Shetty
757953851b fix: Move permission check code in get_mapped_doc method
- Check target_doc creation permission only after
completely mapping target doc with source_doc
2019-09-17 15:47:49 +05:30
Suraj Shetty
139da25574 fix: Skip get_table_fields of Custom Field
-  if field_doctype is Custom Field
2019-09-12 19:29:12 +05:30
Prssanna Desai
d42fea0104 feat: Add child table fields to group by in reports (#8390) 2019-09-11 17:11:24 +05:30
Saurabh
dd4761e404
Merge pull request #8380 from nabinhait/bulk-delete-error-handling
fix: Handle error on bulk deletion
2019-09-10 11:26:46 +05:30
Nabin Hait
b86dbf1c82 fix: Handle error on bulk deletion 2019-09-09 16:18:02 +05:30
Rohan
355fc4b49e feat: allow extending doctype dashboards via hooks (develop) (#8336)
* feat: allow overriding dasboards via hooks

* fix: allow extending dashboard data in hooks

* fix: move logic to generic function

* format: added description to hook
2019-09-08 02:29:43 +05:30
gavin
f3b1846901 fix: added FileNotFoundError compatability (#8342) 2019-09-05 13:17:40 +05:30
Saurabh
2f83e1783c fix: check if field is_tree exists (#8328) 2019-09-03 15:06:51 +05:30
Suraj Shetty
bbfc4a9069 fix: Load doc before save in db_set as well
- Because db_set internally triggers on_change event
and on_change handlers might expect doc_before_save.
2019-09-03 08:37:11 +05:30
Faris Ansari
bff94703cf feat: Create NestedSet doctypes via configuration 2019-09-02 15:58:52 +05:30
Suraj Shetty
afba9a0238
Revert "fix: When autoname is not set, treat it as hash" 2019-08-30 14:55:40 +05:30
Suraj Shetty
b3f2fc98b5
fix: When autoname is not set, treat it as hash (#8260)
fix: When autoname is not set, treat it as hash
2019-08-29 11:07:58 +05:30
mergify[bot]
2eebc463db
Merge pull request #8267 from gavindsouza/doctype-fix
refactor: improvement to doctype API
2019-08-27 11:44:50 +00:00
Gavin D'souza
b21223ab64 fix: delete controller code when doctype is deleted 2019-08-27 12:35:33 +05:30
Deepesh Garg
0f60698513 feat: Ignore certain linked documents on cancellation of document (#8255)
* fix: Allow cancellation of doctype if linked with certain doctypes

* fix: Consider docstatus

* fix: Do not allow to delete canceled doc
2019-08-26 17:05:35 +05:30
Faris Ansari
54f2e25687 fix: When autoname is not set, treat it as hash
During collision it only checks for 'hash', but it can be unset too.
2019-08-26 13:45:38 +05:30