From 0e5739c66fd10641f695192a6327c3cd1c31b3f4 Mon Sep 17 00:00:00 2001 From: Rodrigo Date: Tue, 31 Jan 2023 11:37:36 +0100 Subject: [PATCH] [FIX] account_move_name_sequence: Now you can unlink moves without check sequence fix: https://github.com/odoo/odoo/commit/6112f4f59aeb5dc5a3b698edd861b19f25da7017 --- .../tests/test_account_move_name_seq.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/account_move_name_sequence/tests/test_account_move_name_seq.py b/account_move_name_sequence/tests/test_account_move_name_seq.py index c548e028..d698a32a 100644 --- a/account_move_name_sequence/tests/test_account_move_name_seq.py +++ b/account_move_name_sequence/tests/test_account_move_name_seq.py @@ -282,9 +282,7 @@ class TestAccountMoveNameSequence(TransactionCase): invoice.unlink() invoice.button_draft() invoice.button_cancel() - error_msg = "You cannot delete this entry, as it has already consumed a" - with self.assertRaisesRegex(UserError, error_msg): - invoice.unlink() + invoice.unlink() def test_remove_invoice_error_secuence_standard(self): implementation = {"implementation": "standard"}