Skip to content

Commit

Permalink
Merge pull request #34640 from frappe/mergify/bp/version-14-hotfix/pr…
Browse files Browse the repository at this point in the history
…-34607

Asset maintenance task add dropdown "3 Yearly" (backport #34607)
  • Loading branch information
anandbaburajan authored Mar 29, 2023
2 parents 3e67994 + e3de229 commit 6819f01
Show file tree
Hide file tree
Showing 2 changed files with 151 additions and 657 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 6819f01

Please sign in to comment.