-
-
Notifications
You must be signed in to change notification settings - Fork 795
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
[IMP] report_async: Add eta when async reporting #725
[IMP] report_async: Add eta when async reporting #725
Conversation
Hi @kittiu, |
3985e11
to
8ad731d
Compare
report_async/models/report_async.py
Outdated
|
||
def _get_next_schedule_time(self): | ||
target_time = datetime.strptime(self.schedule_time, "%H:%M").time() | ||
now = datetime.now() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now = datetime.now() | |
now = fields.Datetime.now() |
8ad731d
to
e319c1e
Compare
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
e319c1e
to
cd5fed9
Compare
Hi @kittiu, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review, LGTM
/ocabot merge minor |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 3de1f61. Thanks a lot for contributing to OCA. ❤️ |
Add eta datetime field to decide when to run the queue job.
CC @ForgeFlow