[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
committed by Marcos Oitaben
parent bbd92d6963
commit dd24b52136
2 changed files with 2 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
{
"name": "Account Move Number Sequence",
"version": "16.0.1.1.1",
"version": "16.0.1.1.2",
"category": "Accounting",
"license": "AGPL-3",
"summary": "Generate journal entry number from sequence",

View File

@@ -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"}