diff --git a/l10n_do_accounting/__manifest__.py b/l10n_do_accounting/__manifest__.py index 50f128d99..c2e66c4c0 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.1", + "version": "15.0.0.14.2", # 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_journal.py b/l10n_do_accounting/models/account_journal.py index aad92185c..c93baad70 100644 --- a/l10n_do_accounting/models/account_journal.py +++ b/l10n_do_accounting/models/account_journal.py @@ -216,7 +216,10 @@ class AccountJournalDocumentType(models.Model): l10n_do_ncf_expiration_date = fields.Date( string="Expiration date", required=True, - default=fields.Date.end_of(fields.Date.today(), "year"), + default=fields.Date.end_of( + fields.Date.today().replace(month=12, year=fields.Date.today().year + 1), + "year", + ), ) company_id = fields.Many2one( string="Company", related="journal_id.company_id", readonly=True