Commit graph

330 commits

Author SHA1 Message Date
Deepesh Garg
dd46199dd7 feat: Allow ignoring validations via server script 2021-01-03 20:04:45 +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
Himanshu Warekar
49532508c6 fix: use set_value instead of db_set 2020-03-23 23:16:36 +05:30
Rucha Mahabal
ed397017ee test: inner mapping 2020-03-19 16:56:29 +05:30
Suraj Shetty
b9bb6e6513 fix: Updated value of _seen in db while resetting _seen 2020-03-18 16:30:53 +05:30
Suraj Shetty
b587031d60
Merge branch 'develop' into fix-trigger-doc-events 2020-03-18 15:18:56 +05:30
Suraj Shetty
3f26969969
Merge branch 'develop' into fix-trigger-doc-events 2020-03-13 22:51:37 +05:30
Suraj Shetty
0088f27f71
Merge branch 'develop' into setup-wizard-dev 2020-03-12 18:29:31 +05:30
prssanna
7a36e64b9c fix: permission validation for child table fields 2020-03-02 13:23:46 +05:30
Suraj Shetty
6de17d74a0 Merge branch 'develop' of https://github.com/frappe/frappe into fix-trigger-doc-events 2020-02-24 09:02:35 +05:30
Shivam Mishra
8627cce88e feat: added in_setup_wizard flag 2020-02-19 12:45:04 +05:30
Suraj Shetty
df669a88cb fix: Trigger notification save after doc update 2020-02-07 13:28:18 +05:30
mergify[bot]
62ea837d07
Merge pull request #9363 from prssanna/workflow-fix
fix(Workflow): Set workflow state when some action is performed on a …
2020-02-05 10:04:49 +00:00
Suraj Shetty
dee4a7336c fix(translations): Incorrect syntax 2020-01-29 15:22:35 +05:30
Rucha Mahabal
8147fa45dd fix: anti-pattern code 2020-01-27 14:07:13 +05:30
Rucha Mahabal
c0b22871fb fix: set parent in child table row dependency 2020-01-27 13:38:50 +05:30
Rucha Mahabal
19c69e5316 fix: anti-pattern code 2020-01-27 12:26:12 +05:30
prssanna
9202997cb8 fix(Workflow): Set workflow state when some action is performed on a document from the backend if workflow exists 2020-01-27 12:09:07 +05:30
Suraj Shetty
a25f5d207a
Merge branch 'develop' into offline-erpnext 2020-01-24 09:23:15 +05:30
Saif Ur Rehman
dd72d5e022 chore: No need for frappe._dict() 2020-01-22 12:51:47 +05:30
Saif Ur Rehman
69d7649969 fix(get_permlevel_access): Lazy load handle different permission types 2020-01-22 12:51:47 +05:30
Rucha Mahabal
9dbc0e2793 fix: docstatus not syncing 2020-01-13 23:50:38 +05:30