Merge PR #887 into 12.0

Signed-off-by legalsylvain
This commit is contained in:
OCA-git-bot
2024-06-05 13:22:09 +00:00

View File

@@ -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
@@ -402,7 +402,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,
}