Skip to content

Commit

Permalink
Merge branch 'develop' into refactor-batch
Browse files Browse the repository at this point in the history
  • Loading branch information
s-aga-r authored Mar 30, 2023
2 parents 089fd12 + 448afa2 commit 202c61f
Show file tree
Hide file tree
Showing 7 changed files with 171 additions and 665 deletions.
2 changes: 2 additions & 0 deletions erpnext/assets/doctype/asset_maintenance/asset_maintenance.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ def calculate_next_due_date(
next_due_date = add_years(start_date, 1)
if periodicity == "2 Yearly":
next_due_date = add_years(start_date, 2)
if periodicity == "3 Yearly":
next_due_date = add_years(start_date, 3)
if periodicity == "Quarterly":
next_due_date = add_months(start_date, 3)
if end_date and (
Expand Down
Loading

0 comments on commit 202c61f

Please sign in to comment.