From 1c487624e6731b36efd0044a5a22aefad9b46c7b Mon Sep 17 00:00:00 2001 From: jorge-pcg Date: Tue, 31 Dec 2024 11:30:12 -0400 Subject: [PATCH] [FIX] l10n_do_accounting: fix sequence to change year --- l10n_do_accounting/__manifest__.py | 2 +- l10n_do_accounting/models/account_move.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/l10n_do_accounting/__manifest__.py b/l10n_do_accounting/__manifest__.py index cecdf091d..ba74b32fe 100644 --- a/l10n_do_accounting/__manifest__.py +++ b/l10n_do_accounting/__manifest__.py @@ -8,7 +8,7 @@ "category": "Localization", "license": "LGPL-3", "website": "https://github.com/odoo-dominicana", - "version": "15.0.0.14.5", + "version": "15.0.0.14.6", # any module necessary for this one to work correctly "depends": ["l10n_latam_invoice_document", "l10n_do"], # always loaded diff --git a/l10n_do_accounting/models/account_move.py b/l10n_do_accounting/models/account_move.py index 355b00bfa..4dc1267a5 100644 --- a/l10n_do_accounting/models/account_move.py +++ b/l10n_do_accounting/models/account_move.py @@ -1035,5 +1035,4 @@ def _deduce_sequence_number_reset(self, name): elif self._context.get("is_l10n_do_seq", False): return "never" else: - "never" - return super(AccountMove, self)._deduce_sequence_number_reset(name) + return super(AccountMove, self)._deduce_sequence_number_reset(name)