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

[FW][FIX] account: test_transfer_default_tax change of day error #159403

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Mar 26, 2024

If the move in the test is created at 23:59:59, and the wizard on the next day at 00:00:01,
the test will fail because the wizard takes today as the date at creation.
We just add a freeze_time (for this test only, as the other tests in the class don't have the issue).

Linked to runbot error 60478


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #157981

If the move in the test is created at 23:59:59, and the wizard on
the next day at 00:00:01, the test will fail because the wizard
takes today as the date at creation.
We just add a freeze_time (for this test only, as the other tests
in the class don't have the issue).

Linked to runbot error 60478

X-original-commit: d064068
@robodoo
Copy link
Contributor

robodoo commented Mar 26, 2024

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Mar 26, 2024
@C3POdoo C3POdoo added the RD research & development, internal work label Mar 26, 2024
@fw-bot
Copy link
Contributor Author

fw-bot commented Mar 26, 2024

@gawa-odoo @csnauwaert ci/runbot failed on this forward-port PR

@gawa-odoo
Copy link
Contributor

@fw-bot r+

robodoo pushed a commit that referenced this pull request Mar 29, 2024
If the move in the test is created at 23:59:59, and the wizard on
the next day at 00:00:01, the test will fail because the wizard
takes today as the date at creation.
We just add a freeze_time (for this test only, as the other tests
in the class don't have the issue).

Linked to runbot error 60478

closes #159403

X-original-commit: d064068
Signed-off-by: Cedric Snauwaert <csn@odoo.com>
Signed-off-by: Wala Gauthier (gawa) <gawa@odoo.com>
@robodoo robodoo closed this Mar 29, 2024
@robodoo robodoo added the 17.3 label Mar 29, 2024
@fw-bot fw-bot deleted the master-16.0-account-transfer-changing_day_in_test-gawa-QDeH-fw branch April 12, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
17.3 forwardport This PR was created by @fw-bot RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants