Shivam Mishra
26e40a9d68
fix: data.non_standard_fieldnames is None ( #12174 )
...
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-01-13 19:24:24 +05:30
mergify[bot]
257b9941d4
Merge pull request #12149 from deepeshgarg007/before_validate_event
...
feat: Allow ignoring validations via server script
2021-01-12 05:51:40 +00:00
Anurag Mishra
c88ef9d603
feat: removed Roles from special documents
2021-01-08 17:33:06 +05:30
Deepesh Garg
5c26ff4a02
Merge branch 'develop' of https://github.com/frappe/frappe into before_validate_event
2021-01-07 11:18:22 +05:30
Sagar Vora
34ad0cf331
fix: introduce frappe.controllers; clear global if cache is cleared; replace old references
2021-01-07 10:57:08 +05:30
Sagar Vora
c8ef51a8ec
perf: revert to using _classes global instead of frappe.cache
2021-01-06 16:33:41 +05:30
Deepesh Garg
dd46199dd7
feat: Allow ignoring validations via server script
2021-01-03 20:04:45 +05:30
Saurabh
97b693c6b0
feat: Added permission to grant only Select access to document ( #12063 )
...
* feat: add permtype 'select' to DocPerm and CustomDocPerm
* feat: add 'select' perm in rights tupple
* feat: provisions to handle select permission
* feat: toggle href based on permissions
* feat: pass permission type explicitly while validating link in permission check
* fix: sider
* feat: added test cases to validate select perm
* feat: add method frappe.only_has_select_perm to explicitly check the select perm
* fix: if user only has select perm then do not show anchor tag for link fields
* fix: sider
2020-12-29 16:58:28 +05:30
prssanna
c982875b6a
fix: Show cancel button only if document is cancellable
2020-12-28 13:40:12 +05:30
Marica
d5a1faebcb
Merge pull request #11795 from gavindsouza/fix-broken-folders
...
fix: Rename Doc (and others)
2020-12-17 11:37:33 +05:30
Gavin D'souza
c876cdc63e
fix: Update controllers via delete_doc and rename_doc only in
...
developer_mode
2020-12-16 19:04:59 +05:30
Gavin D'souza
ed01c67f54
style: Black over updated diffs
2020-12-16 15:19:41 +05:30
conncampbell
7a773d2461
feat: Workflow transition condition allows datetime functions
2020-12-14 20:07:39 -07:00
mergify[bot]
10626eede4
Merge pull request #12019 from nextchamp-saqib/abs-value-in-pf
...
feat: show absolute value in print format
2020-12-10 14:58:33 +00:00
Gavin D'souza
1a5ed2a6fd
Merge branch 'develop' of github.com:frappe/frappe into fix-broken-folders
2020-12-10 14:17:05 +05:30
Faris Ansari
3f8b4a70f4
Merge branch 'develop' into permission-query-server-script
2020-12-09 19:51:37 +05:30
prssanna
69befda08e
fix: label for _assign field
2020-12-04 16:12:22 +05:30
Faris Ansari
9ac14fb5ab
feat: Permission Query script type
...
Add dynamic conditions in where clause of get_list query
2020-12-03 23:26:34 +05:30
Saqib Ansari
3296097df6
feat: show absolute value in print format
2020-11-30 15:46:29 +05:30
Gavin D'souza
29941ef46a
fix: Use ORM instead of raw SQL
...
Co-authored-by: Marica <maricadsouza221197@gmail.com>
2020-11-30 12:03:53 +05:30
Gavin D'souza
a0cb593019
style: Sort and remove unused imports
2020-11-27 20:33:10 +05:30
Gavin D'souza
e3b09e2a2a
fix: Add rename_doc utils for external API usages
...
* The previously deleted code was being used in ERPNext's Customer
module.
* This will be moved into frappe.model.utils.rename_doc for the time
and completely removed in time.
2020-11-27 20:19:50 +05:30
Gavin D'souza
861f41684c
Merge branch 'develop' of github.com:frappe/frappe into fix-broken-folders
2020-11-27 16:23:59 +05:30
Gavin D'souza
58806db5c7
Merge branch 'develop' of github.com:frappe/frappe into rename-doc-rename-link-fields
2020-11-27 15:10:02 +05:30
Gavin D'souza
104bc1b167
chore: Remove dead code
2020-11-27 15:09:23 +05:30
Gavin D'souza
58ed57e8f5
fix: Add postgreSQL support for rename_doc queries
2020-11-27 15:01:46 +05:30
Gavin D'souza
d8335e7a0e
Merge branch 'develop' of github.com:frappe/frappe into fix-broken-folders
2020-11-23 11:17:41 +05:30
Suraj Shetty
ab811b3a2d
Merge branch 'develop' into fix-workflow-query
2020-11-18 10:32:56 +05:30
Gavin D'souza
18c0270168
fix: Delete controllers if delete_doc triggered via tests too
2020-11-11 19:54:31 +05:30
Gavin D'souza
d28fb7ff5e
fix: ignore on_trash, delete comment on dt
2020-11-10 18:44:10 +05:30
gavin
91822b3c3d
Merge branch 'develop' into rename-doc-rename-link-fields
2020-11-09 15:45:37 +05:30
Gavin D'souza
012f98191a
Merge branch 'develop' of github.com:frappe/frappe into fix-broken-folders
2020-11-09 10:56:02 +05:30
Shivam Mishra
476f21eb4d
fix: load doc from db in get_transitions
2020-11-05 18:40:58 +05:30
marination
841f2f4a36
chore: Rename Doctype Test and more explicit comment
...
- Better decription of why the fix is done, what case it handles
- Test for Renaming Doctype and Record having same name as DocType
2020-11-03 21:57:26 +05:30
Deepesh Garg
3d9e4bbd8e
Merge branch 'develop' of https://github.com/frappe/frappe into non_negative
2020-10-29 16:53:36 +05:30
Deepesh Garg
dbd8f52e54
feat: Non negative check for Int, Float and Currency fields
2020-10-29 16:40:38 +05:30
Rushabh Mehta
97191f90af
fix(minor): dont run a query when table is missing
2020-10-27 23:02:11 +05:30
Gavin D'souza
c73e779373
fix: Validate existing doctype names too
2020-10-27 21:26:47 +05:30
marination
856754bae6
Merge branch 'develop' of https://github.com/frappe/frappe into rename-doc-rename-link-fields
2020-10-27 19:18:07 +05:30
Rushabh Mehta
69d2c10736
fix(minor): db_query (ignore_ddl)
2020-10-26 10:02:04 +05:30
Rushabh Mehta
742605542c
fix(minor): added ignore_ddl in frappe.db.get_all to ignore missing tables, columns
2020-10-26 10:02:04 +05:30
Rushabh Mehta
8707ed1f27
fix(minor): remove "Custom Link" and add patch
2020-10-26 10:02:04 +05:30
Rushabh Mehta
92c30ae212
fix(minor): linting
2020-10-26 10:02:04 +05:30
Rushabh Mehta
a0a3606a7f
fix(tests): add test cases for custom_link and custom_action
2020-10-26 10:02:04 +05:30
Rushabh Mehta
8a198f363b
fix(default): cast as string as required
2020-10-26 10:02:04 +05:30
Rushabh Mehta
b5cb39bdb1
fix(minor): fix fieldame in apply_property_setters in model/meta.py
2020-10-26 10:02:04 +05:30
Rushabh Mehta
1e48ced097
feat(customize form): add links and actions to customize form and cleanup code
2020-10-26 10:02:04 +05:30
marination
59d35cb5ae
fix: Conditionally set parent field only on DocType rename
2020-10-20 20:21:07 +05:30
Gavin D'souza
cf1b01fb5e
fix: Remove partial support for distinct keyword
...
* Added supporting sql functions and distinct kw in TODO
2020-10-12 15:34:48 +05:30
Gavin D'souza
b00a389cfd
fix: Add provision for quotes in DatabaseQuery.prepare_args
2020-10-09 19:40:45 +05:30