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
Remove timespan filter.
version-14
DANY ROBERT
4 years ago
committed by
GitHub
parent
da7b930e53
commit
42836a2ec8
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/desk/doctype/number_card/number_card.py
+ 1
- 1
frappe/desk/doctype/number_card/number_card.py
View File
@@ -131,7 +131,7 @@ def calculate_previous_result(doc, filters):
previous_date = add_to_date(current_date, months=-1)
else:
previous_date = add_to_date(current_date, years=-1)
number = get_result(doc, filters, previous_date)
return number
Write
Preview
Loading…
Cancel
Save