Skip to Content
Menu
This question has been flagged
1 Reply
1427 Views

Hello,

I need your help because i encounter a problem when i push from pycharm to odoo.sh

I changed only one python file which override class mrp_production and i've these errors (see below)

I don't understand why i've got errors about account bank statement because i've just change 2 or 3 things in a file about class mrp.production.

To be sure, i re-pasted all the code of the file like before (when push worked well) and i've got always the same errors!!

Is anybody knows what's happen here ?


Vincent

Date

LevelTypeMessage
03/11/2021 10:38:16ERRORserverAt least one test failed when loading the modules.
03/11/2021 10:35:12ERRORserverModule account_bank_statement_import_camt: 3 failures, 0 errors
03/11/2021 10:35:12ERRORserverFAIL: TestCamtFile.test_several_ibans_match_journal_camt_file_import Traceback (most recent call last): File "/home/odoo/src/enterprise/account_bank_statement_import_camt/tests/test_account_bank_statement_import_camt.py", line 136, in test_several_ibans_match_journal_camt_file_import self.assertEqual(line.amount, 600.00, "Transaction not matched") AssertionError: 0.0 != 600.0 : Transaction not matched
03/11/2021 10:35:12ERRORserverFAIL: TestCamtFile.test_minimal_camt_file_import Traceback (most recent call last): File "/home/odoo/src/enterprise/account_bank_statement_import_camt/tests/test_account_bank_statement_import_camt.py", line 86, in test_minimal_camt_file_import self.assertEqual(line.amount, 500.00, "Transaction not matched") AssertionError: 0.0 != 500.0 : Transaction not matched
03/11/2021 10:35:11ERRORserverFAIL: TestCamtFile.test_camt_file_import Traceback (most recent call last): File "/home/odoo/src/enterprise/account_bank_statement_import_camt/tests/test_account_bank_statement_import_camt.py", line 43, in test_camt_file_import self.assertEqual(line.amount, 1636.88) AssertionError: 0.0 != 1636.88




Avatar
Discard
Author Best Answer

Precision:

I just noticed that this problem occurs since the last version of Odoo on 03/08/2021

With the previous version (03/01/2021), no problem!


They probably changed a test that is causing this problem but what!?!

Avatar
Discard