diff --git a/l10n_do_accounting/__manifest__.py b/l10n_do_accounting/__manifest__.py index 381d8dbc..96162021 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.3", + "version": "15.0.0.14.4", # 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/monkey_patch.py b/l10n_do_accounting/models/monkey_patch.py index dbff3d2c..e613d3fc 100644 --- a/l10n_do_accounting/models/monkey_patch.py +++ b/l10n_do_accounting/models/monkey_patch.py @@ -98,5 +98,6 @@ def date_key(move): and not x.l10n_latam_manual_document_number and not x.l10n_do_enable_first_sequence and x.state == "posted" + and not x.l10n_do_fiscal_number ): move.with_context(is_l10n_do_seq=True)._set_next_sequence()