frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
20.36k stars 7.08k forks source link

Auto repeat frequency based on duration #24347

Closed ryuliantoro closed 2 years ago

ryuliantoro commented 3 years ago

Is your feature request related to a problem? Please describe. The existing auto-repeat frequency can only repeat based on time period (daily, weekly, etc.). So it can't repeat based on duration of time (every 25 days, every 3 weeks, every 2 month (bimonthly), etc.)

Describe the solution you'd like Additional capability to set the frequency based on duration.

Describe alternatives you've considered Currently there is no alternative for this issue.

fderyckel commented 3 years ago

I would love that. That code could then be refactored in many places within ERPNext: meeting, courses, subscriptions, etc.

skjbulcher commented 3 years ago

I believe the restriction is due to the way way auto repeat is implemented in Frappe. I created a feature request that I'd like to document in this issue: https://github.com/frappe/frappe/issues/12172

jpubb commented 3 years ago

@ryuliantoro @fderyckel I think a PR has been submitted to cover this....

https://github.com/frappe/frappe/pull/13576

This will allow Auto-Repeats by minutes interval. So you can definie whatever interval you want from there.

i.e. "Every 2 weeks = every 20160 minutes"

VERY useful I think. It would be great if the PR was adopted to core.

stale[bot] commented 2 years ago

This issue has been automatically marked as inactive because it has not had recent activity and it wasn't validated by maintainer team. It will be closed within a week if no further activity occurs.