mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[FIX] bi_sql_editor: Set tomorrow's date correctly.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -430,7 +430,7 @@ class BiSQLView(models.Model):
|
||||
"numbercall": -1,
|
||||
"interval_number": 1,
|
||||
"interval_type": "days",
|
||||
"nextcall": datetime(now.year, now.month, now.day + 1),
|
||||
"nextcall": now + timedelta(days=1),
|
||||
"active": True,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user