We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sale_automatic_workflow
Running tests around mid night one of tests fails.
2024-02-08 23:37:11,655 1 ERROR odoodb odoo.addons.sale_automatic_workflow.tests.test_automatic_workflow: FAIL: TestAutomaticWorkflow.test_date_invoice_from_sale_order Traceback (most recent call last): File "/opt/odoo/projects/sale-workflow/sale_automatic_workflow/tests/test_automatic_workflow.py", line 66, in test_date_invoice_from_sale_order self.assertEqual(invoice.invoice_date, last_week_time.date()) AssertionError: datetime.date(2024, 2, 2) != datetime.date(2024, 2, 1)
Steps to reproduce the behavior:
test_date_invoice_from_sale_order
Expected behavior Test pass
The text was updated successfully, but these errors were encountered:
I think that an invoice is created with a user timezone, which leads to differences between dates.
Sorry, something went wrong.
No branches or pull requests
Module
sale_automatic_workflow
Describe the bug
Running tests around mid night one of tests fails.
Steps to reproduce the behavior:
test_date_invoice_from_sale_order
around mid night.Expected behavior
Test pass
The text was updated successfully, but these errors were encountered: