2
0

[FIX] account_move_name_sequence: Now you can unlink moves without check sequence fix: 6112f4f59a

This commit is contained in:
Rodrigo 2023-01-31 11:37:36 +01:00
parent 32f1630879
commit 0e5739c66f

View File

@ -282,9 +282,7 @@ class TestAccountMoveNameSequence(TransactionCase):
invoice.unlink() invoice.unlink()
invoice.button_draft() invoice.button_draft()
invoice.button_cancel() invoice.button_cancel()
error_msg = "You cannot delete this entry, as it has already consumed a" invoice.unlink()
with self.assertRaisesRegex(UserError, error_msg):
invoice.unlink()
def test_remove_invoice_error_secuence_standard(self): def test_remove_invoice_error_secuence_standard(self):
implementation = {"implementation": "standard"} implementation = {"implementation": "standard"}