2
0

[FIX] account_move_name_sequence: Fix sequence domain to assign only if it is empty

This commit is contained in:
Moises Lopez 2022-05-13 15:34:58 +00:00 committed by Rodrigo
parent d45cda0ecb
commit 1a2b072c4e

View File

@ -13,7 +13,7 @@ def create_journal_sequences(cr, registry):
journals = (
env["account.journal"]
.with_context(active_test=False)
.search([("sequence_id", "!=", False)])
.search([("sequence_id", "=", False)])
)
for journal in journals:
journal_vals = {