This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[test] revert naming series if name fails
version-14
Rushabh Mehta
7 years ago
parent
556d21d7ca
commit
5601c0024f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/test_runner.py
+ 1
- 1
frappe/test_runner.py
View File
@@ -287,7 +287,7 @@ def make_test_objects(doctype, test_records=None, verbose=None, reset=False):
records = []
def revert_naming(d):
if getattr(d, 'naming_series'):
if getattr(d, 'naming_series'
, None
):
revert_series_if_last(d.naming_series, d.name)
Write
Preview
Loading…
Cancel
Save