diff --git a/l10n_do_accounting/__manifest__.py b/l10n_do_accounting/__manifest__.py index 5ce098380..48713ce06 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": "14.0.2.19.1`", + "version": "14.0.2.19.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 a5bdb605a..d809994c9 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