[FIX] Fix same eror in camt54 module

This commit is contained in:
Stefan Rijnhart
2021-02-02 09:42:39 +01:00
committed by sonhd91
parent 4fa0cbcdc1
commit d5aabc6605
4 changed files with 11 additions and 19 deletions

View File

@@ -3,8 +3,6 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
import base64
import mock
from odoo.modules.module import get_module_resource
from odoo.tests.common import SavepointCase
@@ -39,12 +37,7 @@ class TestGenerateBankStatement(SavepointCase):
}
)
@mock.patch(
"odoo.addons.account.models.sequence_mixin."
"SequenceMixin._constrains_date_sequence",
side_effect=False,
)
def _load_statement(self, constraint):
def _load_statement(self):
testfile = get_module_resource(
"account_statement_import_camt", "test_files", "test-camt053"
)