[FIX] account_move_name_sequence: Fix sequence domain to assign only if it is empty
This commit is contained in:
parent
d45cda0ecb
commit
1a2b072c4e
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user