Skip to content

Commit

Permalink
Merge PR OCA#887 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by legalsylvain
  • Loading branch information
OCA-git-bot committed Jun 5, 2024
2 parents 9a0f99f + c1865a4 commit 76c3c4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bi_sql_editor/models/bi_sql_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

import logging
from datetime import datetime
from datetime import datetime, timedelta
from psycopg2 import ProgrammingError

from odoo import _, api, fields, models, SUPERUSER_ID
Expand Down Expand Up @@ -402,7 +402,7 @@ def _prepare_cron(self):
'numbercall': -1,
'interval_number': 1,
'interval_type': 'days',
'nextcall': datetime(now.year, now.month, now.day+1),
"nextcall": now + timedelta(days=1),
'active': True,
}

Expand Down

0 comments on commit 76c3c4a

Please sign in to comment.