Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0] [14.0] [project] Recurring Tasks with >1 for repeat_interval behaves as if the repeat_interval were 1 #78868

Open
stupidgoats opened this issue Oct 22, 2021 · 0 comments
Labels
14.0 15.0 Services Project, timesheet, helpdesk,...

Comments

@stupidgoats
Copy link

Impacted versions:

  • 14.0
  • 15.0

Steps to reproduce:

  1. Create a recurring task for daily or weekly set the interval to greater than 1. I was trying every other week so 2.
  2. Wait the requisite time period (day or week)
  3. Note that a task is created just as if the interval were set to 1

Current behavior:
Recurring task with a repeat_interval greater than 1 creates a task just as if the interval were 1.
Example: So a task with 2 Week interval and only Monday selected would produce a new task every week on Monday

PLEASE NOTE: the "Next Occurrences" message will behave with the appropriate interval. The issue is when the chron job runs it uses the current date for the start_date when it is passed to rrule. This means the current day is ALWAYS seen as the first occurrence in the repeating series by rrule

Expected behavior:
Tasks should only be created on the appropriate interval set.
So a task with 2 Week interval and only Monday selected would produce a new task every other week on Monday

Video/Screenshot link (optional):
Set for every 4 days
image
Task created every day
Capture2

Support ticket number submitted via odoo.com/help (optional):

@Yenthe666 Yenthe666 added 14.0 15.0 Services Project, timesheet, helpdesk,... labels Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
14.0 15.0 Services Project, timesheet, helpdesk,...
Projects
None yet
Development

No branches or pull requests

2 participants