mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] account_move_name_sequence: Now you can unlink moves without check sequence fix: 6112f4f59a
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user