Ankush Menat
adbf267212
feat(DX): Add __repr__ and __str__ for DocTypes
...
- Show doctype and name
- if docstatus != 0, show docstatus
- if child doctype, show parent
2021-05-05 19:45:33 +05:30
Shridhar Patil
361cd935d6
Merge branch 'develop' into virtual_doctype
2021-04-01 09:46:35 +05:30
Sagar Vora
aed90126f3
fix: incorrect condition
2021-03-30 13:32:36 +05:30
Sagar Vora
497ea861f4
feat: frappe.whitelist for class methods
2021-03-30 13:07:58 +05:30
prssanna
45e7943928
style: remove commented out line
2021-03-24 12:41:33 +05:30
Suraj Shetty
91c9dce6c0
fix: Create copy of meta fields for checks
2021-03-24 10:58:56 +05:30
Suraj Shetty
514d7480e6
fix: Do not validate permlevel for admin
2021-03-24 09:43:36 +05:30
Suraj Shetty
7e5f86789c
fix: Do not check permlevel > 0
...
- while creating has_access_to list
2021-03-23 19:53:05 +05:30
Chinmay Pai
043a6c0804
Merge branch 'develop' into virtual_doctype
2021-03-17 20:18:44 +05:30
prssanna
32c1847a1d
fix: remove redundant application of field level permissions
2021-03-17 14:08:37 +05:30
prssanna
e5a27c22b0
Merge branch 'develop' of https://github.com/frappe/frappe into permlevel-fix
2021-02-25 14:46:00 +05:30
Aditya Hase
b0456503f2
perf: Remove frappe.utils.background_job from import tree
2021-02-21 09:42:04 +05:30
Rohit Waghchaure
bfab46c536
fix: ignore notify update in patch execution
2021-02-18 13:33:12 +05:30
Shridhar Patil
0e0e857e1d
Merge branch 'develop' into virtual_doctype
2021-02-02 14:02:32 +05:30
Suraj Shetty
b94d5778a8
Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui
2021-01-19 10:36:50 +05:30
prssanna
455a861a0d
fix: do not assume that higher perm level will be set for a doctype
2021-01-15 14:39:16 +05:30
Shridhar
d48e470b86
fix: renamed label and field name
2021-01-11 13:13:39 +05:30
Shridhar
42d889d2a4
fix: handle virtual doctype flag for existing doctypes
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
Deepesh Garg
dd46199dd7
feat: Allow ignoring validations via server script
2021-01-03 20:04:45 +05:30
Rushabh Mehta
75fe8a615a
feat(app): move /desk to /app
2020-11-11 16:31:47 +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
426a946408
fix(minor): file name cannot contain separator ( #11426 )
2020-09-07 16:58:20 +05:30
Rushabh Mehta
b4b620e738
fix(refactor): event_update_log - move code from document.py and cleanup hooks
2020-08-17 09:41:54 +05:30
Rushabh Mehta
3d6b3870bd
fix(minor): document.py:notify_consumers
2020-08-17 09:41:54 +05:30
Rushabh Mehta
aad2375cf3
fix(major): make document events more efficient, fix bug in cache_manager.get_doctype_map
2020-08-17 09:41:54 +05:30
Rushabh Mehta
73c98d7082
fix(minor): stop printing
2020-08-17 09:41:54 +05:30
Rushabh Mehta
fe9f1e803e
fix(minor): allow for_update as a key in get_doc
2020-08-17 09:41:54 +05:30
Rushabh Mehta
fb7bc2659a
fix(minor): allow for_update as a key in get_doc
2020-08-17 09:41:54 +05:30
Rushabh Mehta
b1971d1f65
fix(minor): add for_update parameter in get_doc
2020-08-17 09:41:54 +05:30
gavin
5d4feb5dbb
feat: Convenience APIs for tags ( #11088 )
...
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-04 17:45:14 +05:30
Rohit Waghchaure
79e3f88a65
fix: Edit in full page broken link
2020-07-16 15:34:59 +05:30
Suraj Shetty
5712a22a0e
Merge branch 'develop' into notification_while_import
2020-06-29 17:23:49 +05:30
Rushabh Mehta
62a8774bb1
feat(role permission): if desk access is removed from a role, attempt to remove it from users too ( #10838 )
...
* feat(minor): if desk access is removed from a role, attempt to remove it from users too
* fix(minor): exception for install;
* fix(minor): exception for install
2020-06-29 02:43:23 +00:00
Deepesh Garg
4ce29c3120
fix: Notificaions on data import
2020-06-26 22:41:29 +05:30
Rohit Waghchaure
e12364bb02
fix: travis for patch
2020-06-15 20:09:55 +05:30
Faris Ansari
7119179fa5
fix: Don't create Version in install
2020-05-30 00:06:25 +05:30
Faris Ansari
b7dfe7969d
fix: Create version for document creation
...
So that we can track if documents were created by Data Import
2020-05-28 23:18:08 +05:30
Suraj Shetty
d53b88a72f
perf: Make tests faster ( #10307 )
...
* feat: Ignore versions for test
* test: Do not ignore version where needed
* perf: Use frappe.db.get_single_value to leverage caching
- frappe.get_cached_value does not support single value caching
* style: Fix sider issue
2020-05-12 22:34:10 +05:30
Suraj Shetty
9274c6c7eb
Merge branch 'develop' into event_streaming_mapping_fix
2020-04-30 17:20:49 +05:30
Suraj Shetty
1c3077b259
fix: Clear __unsaved flag in insert method ( #10094 )
2020-04-25 11:56:55 +05:30
rohitwaghchaure
9c78c5b564
fix: don't reset the child doc fields value for new record ( #10090 )
2020-04-25 10:47:13 +05:30
Suraj Shetty
d678fc62ab
fix: Clear __unsaved flag after document save ( #10082 )
2020-04-24 11:25:36 +05:30
Rucha Mahabal
c28ad1eed5
fix: conflicts
2020-04-21 00:06:11 +05:30
Rucha Mahabal
11015a8dd9
Merge branch 'develop' into event_streaming_mapping_fix
2020-04-20 23:59:59 +05:30
Aditya Hase
6f1caf101f
fix: Check if Event Consumer exists before checking for consumers
...
the logic for event streaming has been hardcoded into `document.py`
Scenario:
a site (say, v12) backup needs to be restored on a v13 bench and then updated
Solution:
use `bench migrate`; works flawlessly.
However, if this site has an app installed that isn't available on the v13 bench,
then bench migrate fails.
Also, `bench remove-from-installed-apps` fails,
because of the absence of "Event Consumer"
2020-04-20 12:54:30 +05:30
Suraj Shetty
3e43886e1d
Merge branch 'develop' into event_streaming_mapping_fix
2020-04-17 12:10:32 +05:30
Suraj Shetty
c46e573b4a
Merge branch 'develop' into event_streaming_mapping_fix
2020-03-31 10:08:59 +05:30
Suraj Shetty
0a65266c1e
Merge branch 'develop' into data-options
2020-03-30 10:44:25 +05:30
Gavin D'souza
d199d8027a
feat: added server validations for phone and email
...
for fieldtype "Data" and options set to "Email" or "Phone", updating
documents will trigger data validations for email and phone numbers will be made
2020-03-25 15:29:24 +05:30