prssanna
358995cbfe
fix: label for _assign field
2020-12-07 13:59:42 +05:30
Rushabh Mehta
ff71329b03
fix(merge): develop
2020-12-02 10:54:10 +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
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
Suraj Shetty
ab811b3a2d
Merge branch 'develop' into fix-workflow-query
2020-11-18 10:32:56 +05:30
Rushabh Mehta
75fe8a615a
feat(app): move /desk to /app
2020-11-11 16:31:47 +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
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
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
marination
d39216b273
fix: Select only last 3 args
2020-10-07 15:46:39 +05:30
mergify[bot]
30eb9f15b1
Merge pull request #11652 from adityahase/fix-pluck
...
fix(db_query): Allow plucking a field without having to add it to the fields list
2020-10-06 13:20:22 +00:00
Aditya Hase
e6c16f3184
fix(db_query): Allow plucking a field without having to add it to the fields list
...
e.g.
frappe.get_all("ToDo", pluck="owner")
Didn't work before, instead
frappe.get_all("ToDo", fields=["owner"], pluck="owner")
was needed
2020-10-06 18:32:43 +05:30
Deepesh Garg
7b404a835b
fix: Ignore hash collosion count limit in tests
2020-10-06 12:55:09 +05:30
mergify[bot]
3275cc4c5a
Merge pull request #11500 from gavindsouza/mysql-syntax-error
...
fix(doctype): Allow MySQL keywords as Docfields
2020-09-24 08:45:34 +00:00
Faris Ansari
45e461a10a
Merge pull request #11527 from netchampfaris/override-doctype-class
2020-09-24 14:11:57 +05:30
Gavin D'souza
31bf172f73
fix: Check if as token in statement explicitly
...
tests failing due to this conditon becoming truthy for value: "assignment_rule"
2020-09-23 15:15:26 +05:30
Gavin D'souza
e6eee1ff83
Merge branch 'develop' of github.com:frappe/frappe into mysql-syntax-error
2020-09-23 15:00:39 +05:30
Faris Ansari
ed9abe0d7c
fix: Pluck syntax for get_all and friends
2020-09-23 12:55:16 +05:30
Rushabh Mehta
282194ef13
fix(document_naming_rule): added priority and removed field based naming
2020-09-21 10:28:11 +05:30
Rushabh Mehta
cf1fd732c4
fix(naming): give first priority to rule, try and fix recorder test
2020-09-21 10:28:11 +05:30
Rushabh Mehta
542553b401
fix(naming): ignore table missing + linting
2020-09-21 10:28:11 +05:30
Rushabh Mehta
8696bc3cd1
fix(naming): ignore table missing + linting
2020-09-21 10:28:11 +05:30
Rushabh Mehta
21419645f8
feat(document naming): [wip] rule based naming of documents
2020-09-21 10:28:11 +05:30
Gavin D'souza
ef276257d4
fix: Handle mysql functions and "as"
2020-09-18 21:51:44 +05:30
Gavin D'souza
b6f6bbadb0
fix: Allow keywords as fieldnames
2020-09-18 12:58:28 +05:30
Faris Ansari
8461275f5a
fix: Store classes in cache per site
2020-09-17 17:58:37 +05:30
Faris Ansari
78e1310471
feat: Ability to override doctype classes from hooks
2020-09-17 17:30:36 +05:30
mergify[bot]
cbf1077490
Merge pull request #11475 from prssanna/empty-tree-filter
...
fix: handle undefined tree filter value
2020-09-11 15:19:14 +00:00
prssanna
a429729e92
fix: handle undefined tree filter value
2020-09-10 12:57:34 +05:30
Suraj Shetty
9e43e88755
fix: Remove unnecessary whitelisting of rename_doc method
2020-09-08 10:38:26 +05:30
Aditya Hase
555c52fc70
fix(db_query): Reject user argument in whitelisted methods
2020-09-07 18:56:24 +05:30