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

[Fix #25] Fixing validation date offset #26

Open
wants to merge 1 commit into
base: 11.0
Choose a base branch
from

Conversation

Warlocklogan
Copy link
Contributor

Actually, validation dates on transactions are stored in the French
timezone but in Odoo the timezone attended is UTC. A minor fix is needed
in the _payfip_evaluate_data method for passing the timezone into an UTC
one.

Signed-off-by: Logan Gonet logan.gonet@horanet.com

@Warlocklogan Warlocklogan self-assigned this Aug 12, 2022
@Warlocklogan Warlocklogan linked an issue Aug 12, 2022 that may be closed by this pull request
@Warlocklogan
Copy link
Contributor Author

Migration take currently approx 1s / 1000 record

@Warlocklogan
Copy link
Contributor Author

Hello @Creamaster @Max-282 une relecture s'il vous plaît.

Currently, validation dates on transactions are stored in the French
timezone, but in Odoo the timezone is expected to be in UTC.
A minor fix is needed in the _payfip_evaluate_data method to
convert the timezone into a UTC one.

Migrate all previous dates validations to fix the timezone issue.
All transactions are processed in chunk of one hundred.

Signed-off-by: Logan Gonet <logan.gonet@horanet.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validation date offset
3 participants