mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] account_move_name_sequence: With the "account_move_name_sequence" module the "_get_last_sequence" method does not have to propagate the with_prefix parameter. The sequence_prefix parameter will not be completed and will give error as it is False in this line of code. https://github.com/OCA/OCB/blob/16.0/addons/account/models/sequence_mixin.py#L169
This commit is contained in:
@@ -309,7 +309,6 @@ class TestAccountMoveNameSequence(TransactionCase):
|
||||
],
|
||||
}
|
||||
)
|
||||
in_refund_invoice._compute_split_sequence()
|
||||
self.assertEqual(in_refund_invoice.name, "/")
|
||||
in_refund_invoice.action_post()
|
||||
error_msg = "You cannot delete an item linked to a posted entry."
|
||||
|
||||
Reference in New Issue
Block a user